Euler's Method and Planetary Motion

antintheagora
Messages
1
Reaction score
0

Homework Statement



Hi there,

I wish to use Newton's Laws in conjunction with Euler's Method to model the motion of a planet around a star.

Homework Equations



2nd Law
F = m*a

Law of Universal Gravitation
F = -G*M1*M2/r^2

The Attempt at a Solution


[/B]
First I combined the two laws above.

m*a = -G*M1*M2/r^2

Where M1 cancels out.

a = -G*m/r^2

Rewriting a as the second derivative of position gives:

d^2r/dt^2 = -G*m/r^2

Euler's method is incompatible with a second order differential equation, so I tried to write it as a system of coupled first order differential equations.

dr/dt = v

and

dv/dt = -G*m/r^2I guess this is where I'm a little stuck. Does everything appear correct so far? I tried Euler's method on these two but I think my results were incorrect. Any help would be greatly appreciated. :oldcool:
 
Last edited:
Physics news on Phys.org
antintheagora said:
d^2r/dt^2 = -G*m/r^2
you've omitted centripetal acceleration.
 

Similar threads

  • · Replies 32 ·
2
Replies
32
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
16
Views
2K
Replies
16
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
1
Views
2K