Data analysis labNumPy problems

Problem 46 of 50 · Linear algebra · Medium

Length of a vector

Compute the L2 norm.

Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.

Print the length of the vector [3, 4]. That is the square root of 3² + 4². np.linalg.norm does this.

1

Your solution

2

Scratch