MathU for iPhoneCreative Creek, LLC

MathU™ RPN 2.2 for iPhone
Documentation

Polar Coordinates

MathU RPN provides two functions to convert back and forth between Cartesian (rectangular) coordinates and polar coordinates. The relationship between polar coordinates and Cartesian coordinates is defined by the following picture and formula

x = R cos(theta)
y = R sin(theta)
R = sqrt(x2 + y2)
theta = atan2(y,x)
Key Function Description Effect on stack
R→P R->P Convert from Cartesian coordinates to polar coordinates
P→R P->R Convert from polar coordinates to Cartesian coordinates