Previous Up Next

26.5.5  Points in polar coordinates

The point command can be used for specifying a point in polar coordinates by using the polar representation of complex numbers, e.g.

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

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

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

Example

polar_point(2,pi/4)

which is the same point as before.


Previous Up Next