- #1
Gvilla1000
- 1
- 0
Hi everyone:
I have trouble in an assignment I was given. The instructions are to utilize Runge-Kutta order 2 and 4 to determine the period of the comet Halley (perihelion = 0.586 AU and aphelion = 35.1 AU).
The period of the orbit is given by Kepler's third law:
Period = Sm3/2
where Sm is the Semimajor axis acquired from:
Sm= (P+A)/2
where P is the perihelion and A is the aphelion
My problem is...if this is such a straightforward answer...how can I use Runge-Kutta in a problem like this? what would be my function that I would need to use Runke Kutta on?
I have trouble in an assignment I was given. The instructions are to utilize Runge-Kutta order 2 and 4 to determine the period of the comet Halley (perihelion = 0.586 AU and aphelion = 35.1 AU).
The period of the orbit is given by Kepler's third law:
Period = Sm3/2
where Sm is the Semimajor axis acquired from:
Sm= (P+A)/2
where P is the perihelion and A is the aphelion
My problem is...if this is such a straightforward answer...how can I use Runge-Kutta in a problem like this? what would be my function that I would need to use Runke Kutta on?