Previous Up Next

11.6.4  Points in polar coordinates: polar_point point_polar

To specify a point in polar coordinates, enter the polar representation of complex numbers. For example, the command
Input:

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

draws the point with polar coordinates r=2, θ = π/4. The polar_point command does this in an easier way, it takes r and θ as arguments. The command
Input:

polar_point(2,pi/4)

creates the same point as before.


Previous Up Next