### Formula

r

the distance from the Sun to the planet

theta

the angle with its vertex at the Sun from the location where the planet is closest to the Sun

p

the semi-latus rectum

epsilon

the eccentricity of the ellipse

r

the distance from the Sun to the planet

theta

the angle with its vertex at the Sun from the location where the planet is closest to the Sun

p

the semi-latus rectum

epsilon

the eccentricity of the ellipse

The orbit of every planet is an ellipse with the Sun at one of the two foci.

theta

p

epsilon

r

Precision

- C
- C#
- C++
- Java
- JavaScript
- LaTeX
- PHP