Trajectory prediction of objects interacting with an attracting force following the inverse square law.

This is an old project from back in 2011. It was a weekend project when I decided to write a small program which would plot out the paths of interacting objects, under the influence of gravitational field. By implementing numerical modelling techniques with an application such as this one, one may easily determine the trajectories over time of several moving objects. Whether these are planets, satellites, or charged particles the same principles apply.

As you can see, slightly different initial conditions may lead to very divergent trajectories and states.
This seems like chaotic behaviour!

1collision 2collision 3nocollision