How to calculate acceleration due to gravity in a 3D N -Body system? How do you calculate acc

Araceli Soto

Araceli Soto

Answered question

2022-04-30

How to calculate acceleration due to gravity in a 3D N-Body system?
How do you calculate acceleration due to gravity for objects in 3D space?
My current understanding for the force due to gravity on object i from object j is
F g = ( r j r i ) m j m i G / | r j r i | 3
where r i and r j are the 3D position vectors of object i and object j
Is this right? If not, what is?
Also, should
| r j r i | 3
be the same as [ ( x j x i ) 2 + ( y j y i ) 2 + ( z j z i ) 2 ] 3 / 2 or the vector [ | x j x i | , | y j y i | , | z j z i | ] cubed?

Answer & Explanation

Cynthia Herrera

Cynthia Herrera

Beginner2022-05-01Added 16 answers

The net force on an object i is equal to:
F i = j G m i m j r j r i | r j r i | 3
That is, it is the sum of each individual gravitational force that the object experiences. This can be generalized to continuous mass distributions by an appropriate integral.
Here, the term in the denominator refers to the magnitude of the vector r j r i , which corresponds to the first quantity you listed. It's there because gravity is an inverse-square force.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Force, Motion and Energy

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?