Integrating gravitational acceleration of particles for simulation

Click For Summary
SUMMARY

The forum discussion focuses on integrating gravitational acceleration of particles in a two-body problem simulation. The user successfully calculated the trajectories of two particles, m1 and m2, using the gravitational force formula a = Gm2\hat{r} / r². A key point raised is the confusion regarding the substitution of the r vector only when the denominator remains constant, particularly in circular orbits. The discussion also addresses formatting issues with complex equations in the forum's syntax.

PREREQUISITES
  • Understanding of Newton's law of gravitation
  • Familiarity with vector mathematics
  • Basic knowledge of circular motion dynamics
  • Experience with forum syntax for mathematical expressions
NEXT STEPS
  • Research the mathematical modeling of the two-body problem in physics
  • Learn about gravitational acceleration and its applications in simulations
  • Explore the concept of circular orbits and their characteristics
  • Investigate proper syntax for formatting equations in online forums
USEFUL FOR

Physics students, simulation developers, and anyone interested in gravitational dynamics and mathematical modeling of particle interactions.

caspernorth
Messages
27
Reaction score
0
I've tried out the two body problem and tried to work out the trajectories with respect to their center of mass frame(located at the origin) as follows (it worked!:smile:):

particles = m1 and m2
Fm1 = force of m2 on m1
Fm2 = force of m1 on m2

a = Gm2[itex]\hat{r}[/itex] / r2
[itex]\hat{r}[/itex] is the unit vector
[itex]\hat{r}[/itex] = r/|r|
a m1 = Gm2 r / |r|^3
r = √(x^2 + y^2)

and did this for both a1 and a2 but my doubt is this:
why is there a substitution for r vector only when the denominator term stays constant (magnitude).
Wouldn't this imply that particles slows down when r vector decrease?!

at each time intervals shouldn't the magnitude of vector connecting two particles change too? please help.
also why can't type in complex equation forms (am1 = [itex]\frac{Gm<sub>2</sub>[itex]\hat{r}[/itex] }{r<sup>2</sup>}[/itex]). it shows the syntax instead of formatted text.
 
Last edited:
Physics news on Phys.org
why is there a substitution for r vector only when the denominator term stays constant (magnitude).
What do you mean with that?
The denominator stays constant for circular orbits only.
at each time intervals shouldn't the magnitude of vector connecting two particles change too?
In general, it does.

also why can't type in complex equation forms (am1 = [itex]\frac{Gm^2\hat{r} }{r^2}[/itex]). it shows the syntax instead of formatted text.
Do not nest [itex] and BB-Code tags, that does not work.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 37 ·
2
Replies
37
Views
5K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K