Why does Sage say the norm of a complex number a+b*I is a^2+b^2?
sage: norm(1+2*I)
5
In MMA:
In[1]:= Norm[1+2*I]
Out[1]= Sqrt[5]
Wikipedia and mathworld both agree that the norm should be sqrt(5)
(i.e., the square root of the number times its conjugate).
Note that abs() seems right:
sage: abs(1+2*I)
sqrt(5)
Thanks,
Jason
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org