Why can’t a spacecraft leave for Mars whenever it wants, but has to wait about 26 months for the next chance? The answer is hidden in three laws Johannes Kepler found 400 years ago, and in Newton’s law of gravity.
What you’ll be able to do: predict whether a launch falls, orbits or escapes; test all three of Kepler’s laws with real data; and pick your own launch day to send a probe to Mars.
This time it is the real Earth: radius 6,371 km and real gravity. At every instant the program uses Newton’s law of gravity to work out the pull on the cannonball, then moves it a tiny step, over and over (this is called numerical integration).
Kepler had no telescope data, only Tycho Brahe’s 20-plus years of naked-eye measurements. It took him about ten years of calculations to find three rules. Now test them yourself.
Drag the planet around the orbit. Its distances to the two foci always add up to the same number. The Sun sits at one focus; the other focus is empty.
The planet is pushed only by Newton’s gravity (numerically integrated). Press “Shade one month” and the program colours the area swept by the Sun–planet line in 1/12 of an orbit, and measures it.
Choose a distance from the Sun and a launch speed, then press Launch. The program integrates the orbit, times one full lap (T) and measures the average distance a (the semi-major axis), then plots your point below.
With a in AU and T in years, a³ ÷ T² is simply the central body’s mass in Sun masses (1 Sun mass ≈ 333,000 Earth masses). The Moon row gives Earth + Moon together. Data: NASA fact sheets; S2 is a star orbiting Sagittarius A*, the black hole at the center of our galaxy (ESO measurements, approximate).
Log–log axes: each grid step is ×10. Hollow circles = real planets (data: NASA Planetary Fact Sheet); filled dots = your launches. Dashed line: T² = a³ (T in years, a in AU).
If Kepler’s 3rd law is right, the last column should always come out close to 1.00.
Figure 1: real orbital periods against distance (log–log). Three parallel lines for three different central bodies: the Sun, Jupiter and Earth. Hover over a dot for its numbers. Data: NASA Planetary and Satellite Fact Sheets; satellite values approximate.
The cheapest route is an ellipse that touches Earth’s orbit at one end and Mars’s orbit at the other. The probe coasts half of it, about 8.5 months. The catch: when you leave, Mars must already be ahead of Earth by about 44°, so it arrives at the meeting point at the same time you do. Pick a launch date, set your burn, and launch!
Model notes: Earth’s and Mars’s orbits have their real sizes and periods but are simplified to circles (Mars’s real orbit is a little stretched, e = 0.093). Only the Sun’s gravity is computed; the “burn” is your speed relative to Earth after escaping Earth’s gravity. The target zone is 4.5 million km wide in radius, far more generous than a real mission.
Figure 2: Mars launch-window calendar. Orange bars = windows computed with this page’s circular-orbit model (approximate; real windows can differ by a few weeks to two months). Dots = real mission launch dates. Data: published launch dates from NASA, ESA, ISRO, the UAE Space Agency and CNSA.
All from NASA, ESA and other reliable sources (mostly in English). Each card says what you can do there.
Some questions use the charts above.
Drag each card (or tap it, then tap a box) into the right group.
Supports GSE S6E1 (especially element d: develop and use a model to explain how gravity and inertia govern the motion of objects in the solar system); the Mars mission also connects to S6E2 (positions in the Earth–Moon–Sun system change over time in predictable ways). This lesson goes beyond grade 6: it uses the real gravitational constant, numerical integration, log–log graphs, the quantitative form of Kepler’s 3rd law (T² = a³) and Hohmann transfer orbits. Suggested flow: in Newton’s cannon, have students predict what happens near 7.9 km/s and 11.2 km/s; in the Kepler lab, test the laws one by one (the 3rd-law table lets students “discover” T²/a³ ≈ 1); use Figure 1 to discuss why Jupiter’s moons lie on a different line (a different central mass); then run the Mars challenge.
Simplifications: Newton’s cannon ignores air resistance and Earth’s spin; the Mars mission uses circular orbits and only the Sun’s gravity, so its window dates can be off from the real ones by weeks. Figure 2’s real launch dates let students judge how good the model is, which is a great discussion in itself.