n-body Problem
Numerical simulation of the n-body problem
This project aims to solve the n-body problem numerically. The n-body problem is the problem of predicting the motion of a group of celestial objects that interact with each other gravitationally. I give below some examples of the results obtained with this code.

Classical periodic solution of the 3-body problem. The three bodies follow a figure-8 trajectory.

20 bodies with random initial conditions.

A simulation of the solar system with only the rocky planets during the period of 1.5 years.