Jeremy Emmett edited Method.md  over 9 years ago

Commit id: 040c0ea25e70e0f5e37048c92a11f2d9f7155375

deletions | additions      

       

x=x+v dt  \end {equation}  Every 1000 time steps, position data was output for every particle in the system, providing frequent 'snapshots' of the system over the course of the simulation.  Every 10 time steps, the program output Neptune's distance from the Sun as a function of time.   Every 50 time steps, the program output the kinetic, potential, and total energy of the system, as a function of time, calculated via a separate subroutine and called upon in the main Do Loop.