- Modify
planetary.f95
lines 22 and 23 to reflect whatever Lagrange point and initial conditions you want respectively. - Open Unix/Linux terminal and
cd
to the driectory which includes the files. - Run the
makefile
by typyingmake
. - Execute the created
3plan
file by running./3plan
in the terminal.
The execution can also be done in Windows. The procedure will however probably be different to the above steps.
- Please see the wiki home page for
$\LaTeX$ write up of the problem. - See the wiki plots page for a few plots with different initial conditions.
- IMPORTANT: In my code the number 1 refers to the Earth, and number 2 refers to the Sun. This is exactly the opposite of the Wiki page where the index 1 refers to the Sun.