Polar to Cartesian

Share:

Description

Conversion from polar to cartesian co-ordinates

Usage

1
2
3
x.rphi(r, phi)

y.rphi(r, phi)

Arguments

r

distance from origin

phi

anti-clockwise rotation from positive x-axis

Value

x or t respectively from r and phi

Functions

  • x.rphi: Returns cartesian co-ordinate x from polar co-ordinates r and phi.

  • y.rphi: Returns cartesian co-ordinate x from polar co-ordinates r and phi.