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 - The Fusion of Science and Community**

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:

Loading...

Similar Threads - Help runge kutta | Date |
---|---|

C/++/# Help with MATLAB code? | Feb 9, 2018 |

What's wrong with my bisection method code? | Dec 10, 2017 |

Help: Convert Matlab to Python code | Dec 8, 2017 |

Fortran Runge - Kutta 4 understanding | Oct 17, 2017 |

**Physics Forums - The Fusion of Science and Community**