You will write a solver for Kepler's equation and use it to find where a planet is at a given time.
The idea. , with angles in radians. Newton's method repeats . Then . For the true anomaly, first work out
and then .
Your tasks.
solve_kepler, return from and . Start from and take Newton steps.distance, return from , and .true_anomaly, return in radians from and .Run your code once to unlock the worked solution.
Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…