### Formula

p

the semi-latus rectum

r

the distance from the Sun to the planet

theta

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

epsilon

the eccentricity of the ellipse

p

the semi-latus rectum

r

the distance from the Sun to the planet

theta

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

epsilon

the eccentricity of the ellipse

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

r

theta

epsilon

p

Precision

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