WOLFRAM NOTEBOOK

WOLFRAM|DEMONSTRATIONS PROJECT

N-Body Problem in 2D

time
bodies
4
random seed
This Demonstration shows a two-dimensional version of the
N
-body problem, in which
N
different masses interact gravitationally. In order to predict their motions, a system of coupled differential equations must be solved consistent with a set of initial conditions for positions and velocities that are chosen at random.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.