6.10.5 The normalized complex number: normalize unitV
The normalize command finds the unit complex number
with the same direction as a given complex number.
unitV is a synonym for normalize.
-
normalize takes one argument:
z, a non-zero complex number.
- normalize(z) returns the unit
complex number with the same direction as z, namely z
divided by the modulus of z.
Example.
Input:
normalize(3+4*i)
Output: