This program illustrates the 3 bodies problem. This is a classic problem in celestial mechanics:
- determine the trajectories of 3 planets linked only by universal gravitation.
Although his statement is simple, it's interesting to note that there is no explicit solution like in the problem of two bodies, where we known, since Newton, that the trajectories are conic (ellipse, parabola or hyperbola).
In the case of three-body problem nothing can be said in general as regards the asymptotic behavior of the system for arbitrary initial conditions.