Magnitude Of Vectors

## Description

The magnitude of a vector is defined as

(1)\begin{align} ||\mathbf x|| = \left( \sum_{i=1}^n x_i^2 \right)^2 \end{align}

The Sage cell below calculates the magnitude of the vector $a = [ 1, 2, 3 ]$.

## Sage Cell

#### Code

```
a=vector([ 1, 2, 3 ])
a.norm()
```

## Options

None

## Tags

Primary Tags:

Secondary Tags:

## Related Cells

## Attribute

Permalink:

Author:

Date: 06 Nov 2018 20:12

Submitted by: James A Phillips