Cartesian-to-Polar-Coordinates Equations
The polar coordinate system is a two-dimensional coordinate system in which each point on a plane is determined by a distance from a reference point and an angle from a reference direction. These can be directly translated into Cartesian coordinates.
The x coordinate equals the radial coordinate times the cosine of the angular coordinate. The y coordinate equals the radial coordinate times the sine of the angular coordinate.