#1,147 – Converting from Polar Coordinates to Cartesian Coordinates

You can represent a two dimensional point as either a cartesian coordinate (X,Y) or a polar coordinate (r,theta).  Conversions between these two coordinate systems are shown below.

From polar coordinates to cartesian:


To convert from cartesian coordinates to polar, the following formula works, as long as the X value is positive.


If X is 0 or negative, then the calculation for theta becomes: