You will write a planner for transfers between circular orbits round the Sun. Distances are in AU, speeds in km/s, times in days.
The idea. The circular speed is . The transfer has . At each end, vis-viva gives the speed on the transfer orbit, . The burns are the differences, and the coast is half a period, days.
Your tasks.
circular_speed, return the circular speed at r.burns, return the two burns (dv1, dv2), both as positive numbers.coast_days, return the coast time in days.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…