# Simulating the Three Body Problem

Jesperchristiansen
Hello.

I want to simulate the Circular Restricted Three Body Problem in excel, however I don't know how to get started, even though I have the equations of motion.
The Planar, Circular Restricted Three Body Problem assumes that one body, m3, is neglebtaly small, and the two other bodies move around a common center of mass.

I want to simulate the Circular Restricted Three Body Problem in excel, however I don't know how to get started, even though I have the equations of motion.
So you need help with Excel?

Jesperchristiansen
Yes, I’ve successfully created a two body simulation in Excel. However, I don’t know how to simulate a planer three body problem, even though it should be quite easy.

Yes, I’ve successfully created a two body simulation in Excel. However, I don’t know how to simulate a planer three body problem, even though it should be quite easy.
Then you should ask in the programming sub forum, as this is not really a question about physics.

Staff Emeritus
I move this thread to Programming and Computer Science

2022 Award
So you've got two bodies that are only influenced by each other (i.e. a two-body problem that you say you've already solved) and a third whose equations of motion depend on its position and velocity and the positions of the first two. Where's the problem?

Jesperchristiansen
So you've got two bodies that are only influenced by each other (i.e. a two-body problem that you say you've already solved) and a third whose equations of motion depend on its position and velocity and the positions of the first two. Where's the problem?

I don't know how to insert the equation of motion of the third body in excel, since it includes vectorrelations as shown in this website: http://www.geom.uiuc.edu/~megraw/MATH1/math1.html

#### Attachments

• Skærmbillede 2018-12-18 kl. 08.15.38.png
10.1 KB · Views: 434