MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / n_body_simulation.py

File n_body_simulation.py

physics/n_body_simulation.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2In physics and astronomy, a gravitational N-body simulation is a simulation of a
3dynamical system of particles under the influence of gravity. The system
4consists of a number of bodies, each of which exerts a gravitational force on all

Callers

nothing calls this directly

Calls 4

example_1Function · 0.85
example_2Function · 0.85
example_3Function · 0.85
plotFunction · 0.70

Tested by

no test coverage detected