12.13.6 The polar coordinates of a point: polar_coordinates
The polar_coordinates command takes as argument a
point.
polar_coordinates returns the the polar
coordinates of the points.
Input:
polar_coordinates(1 + i)
or:
polar_coordinates(point(1 + i))
or:
polar_coordinates([1,1])
Output:
[sqrt(2), pi/4]