The formulas for conversion are:
$x = r \cos(\theta)$
$y = r \sin(\theta)$
However, we need to be careful with the angle. The polar coordinate system starts from the positive x-axis and measures the angle counter-clockwise, while the Cartesian coordinate system
Show more…