N-body-numerical-simulation icon indicating copy to clipboard operation
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

  1. numpy
  2. scipy
  3. sympy
  4. matplotlib

Example of simulation: https://www.youtube.com/watch?v=ijxwdV_ZWnc

N|Solid