Points in polar coordinates

### 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.

- polar_point takes two arguments:
  - r, a number.
  - θ, a number.
- polar_plot(r,θ) returns and draws the point with polar coordinates r,θ.

#### Example

polar_point(2,pi/4)

which is the same point as before.