
The first numerical experiments were done by hand back in the 17th century, but it really began with the advent of computers in the 1940s for calculating nuclear explosions. In astrophysics, star cluster modeling began in the 1960s.
We take a complex equation describing, for example, how planets move, and break it down into simple time steps: where will the planet be in a second? And in another second? Repeating this millions of times gives the path. The smaller the step, the more accurate, but more computing power is needed.