Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 449 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 449 Bytes

MercuryVenusEarth

A simulation of planet orbits and calculation of the average distance between planets

https://physicstoday.scitation.org/do/10.1063/PT.6.3.20190312a/full/

Calculations and simulations confirm that on average, Mercury is the nearest planet to Earth—and to every other planet in the solar system.

This little piece of code runs a simulation in order to proof the above result. It works with Python 2.7 and the PyGame library.