Why is Maple norm giving the wrong answer?

497 Views Asked by At

Hello I'm trying to use Maple to calculate the norm of different vectors, as an easy example lets take the vector $h = \left( \begin{array}{c} 3\\ 4\\ \end{array} \right)$ where the length is $\sqrt{3^2+4^2}=5$, but every command in maple I try is telling me the result is 4. Both $VectorNorm(h)$ and $Norm(h)$

Am I wrong, or why is maple nearly always giving the wrong result?

1

There are 1 best solutions below

0
On

Try $Norm(h,2)$. The command $Norm(h)$ computes the infinity norm of $h$, which is indeed 4 for your vector.