Eight-body problem
This is an interactive model of an unrestricted two-dimensional eight-body gravitational problem, based on the general solution of an
n
-body gravitational problem. The theoretical background for this solution is set forth in the book:
Gravitation: master key to the universe: the greatest mystery of science is solved!
(ISBN 0-9689120-0-1) by Karel Havel.
The simulation is programmed to automatically stop either when one of the bodies flies out of the bounds or on a near collision between any two bodies (such collision could be simulated accurately if a much smaller time increment for the calculations was used).
Before you start experimenting with the model, please read the sections Technical Comments and Suggested Experiments.
Your browser must be enabled for Java 2. To start the model, click on
Simulation
in the left panel. Allow several minutes, depending on your Internet connection, for the applet to load.
Operation
There are eight bodies: red, blue, green, magenta, cyan, yellow, gray, and orange, orbiting along a circle.
There are three control buttons in the top of the left column: Play, Pause, and Reset, followed by a number of editable fields below. Click on Play button to run the simulation. Click on Pause to stop it. Click on Reset to restore the defaults.
The fields show the default values of the masses that can be changed. All values are in the metric system. The colors of the values respectively correspond to the colors of the bodies. When you hover the mouse cursor over the field, it displays its identifying label. The default masses of all bodies are 3.2e29.
The field at the bottom, labeled "Increment", is the value in seconds of the time increment used in the calculations.
Before you start your own experiments, perhaps you should try this:
To view the orbits with the default values, click on Play and observe how the eight bodies chase one another along a circle. By changing the masses of the bodies, you can control the shapes of their orbits.
This is how you change the default values. Click on Pause and then on Reset. By way of an example, to change the mass of the red body, hold the mouse cursor over the first field that displays the value 3.2E29 in red. The label reads "Mass0". This is the mass of the red body in the scientific notation. Click into the field and change it to 3.2E30 (ten times more). The background color of the field changes to yellow while you are editing the number. Hit Enter when finished. The background color changes back to white to indicate that the edit is finished. Click on Play and observe drastically different orbits of all bodies. You can change any of the remaining default values of the masses by the same technique.
When making other experiments with the model, always remember to Pause and Reset before changing any defaults.