N-body-numerical-simulation
N-body-numerical-simulation copied to clipboard
Script written in Python to integrate the equations of motion of N particles interacting with each other gravitationally. The script computes the equations of motion and use scipy.integrate to integra...
N-body-numerical-simulation
Script written in Python to integrate the equations of motion of N particles interacting with each other gravitationally with high precision. The script computes the equations of motion and use scipy.integrate to integrate them. Then it uses matplotlib to visualize the solution.
Requeriments
- numpy
- scipy
- sympy
- matplotlib
Example of simulation: https://www.youtube.com/watch?v=ijxwdV_ZWnc