Previous Up Next

13.6.5  Points in polar coordinates: polar_point point_polar

You can use the point command to specify a point in polar coordinates by using the polar representation of complex numbers.


Example.
Input:

point(2*exp(i*pi/4))

Output:

which is the point with polar coordinates r=2, θ = π/4.


The polar_point command is an easier way to specify a point in polar coordinates.
point_polar is a synonym for polar_point.


Example.
Input:

polar_point(2,pi/4)

Output:

which is the same point as before.


Previous Up Next