# Planetary Orbit by Kepler

- Author:
- Hans Oosting

**What is this applet about?**This applet simulates the motion of a planet in its orbit around the Sun. The planetary orbit is an ellipse (Kepler's first law), with the Sun in one of the focal points. How the planet moves alongs this orbit, is described by Kepler second law. This applet calculates the planetary motion the same way as Kepler did in 1605.

**The planetary orbit**According to Kepler's first law the planetary orbit is an ellipse with the Sun in one of the focal points. This applet lets you construct your own planetary orbit by moving the sliders

**a**and

**e**. The value of

**a**is called the

*semi long axis*of the ellipse. This equals the mean distance from the planet to the Sun. This value is expressed in

*Astronomical Units*. 1 AU is approximately 150 million kilometer. The point of the orbit closest to the Sun is called

*perihelion*, the most distant point is the

*aphelion*.

**The period of one revolution around the Sun**The period T of the planet is calculated with Kepler's third law:

*T*is expressed in years and

*a*in AU. In this applet T is expressed in days by multiplication with 365.25:

**True anomaly**This applet starts with the planet in its perihelion at

*t=0*. The planet moves anti-clockwise, and arrives at the perihelion again at

*t=T*. In this applet you can see the slider

**t**, with a value ranging from 0 to T. At a certain time t the planet has moved over an angle

*true anomaly*.

**Mean anomaly**The mean anomaly

*M*is calculated from the average angular velocity:

**Excentric anomaly**Kepler plotted a circle around the elliptic orbit, with centre O. The planet's position is the projected onto the circle in point

*P*. The excentric anomaly

*E*is the angle between line

*OP*and the line from O to the perihelion.

**Kepler's Equation**The relation between mean anomaly M and excentric anomaly E is given by Kepler's equation:

**Finding the true anomaly**As the entire diagram is constructed with Geogebra in the way Kepler did this 4 centuries ago, the true anomaly can be measured from the diagram using Geogebra's angle tool.