Hi everyone:(adsbygoogle = window.adsbygoogle || []).push({});

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 = Sm^{3/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?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Help in runge kutta problem to determine period of a comet

Tags:

**Physics Forums | Science Articles, Homework Help, Discussion**