Computer Science, asked by sabamunawwarsiddiqui, 6 months ago

Kepler’s law are known to describe the orbital paths of planets with high degree of accuracy. Using the leapfrog method, write a simple code in C++ that uses the Kepler’s law to determine the orbital path with respect to time for 3 bodies, and outputs the result as a simple 2D plot?

Once you have simulated 3 bodies, alter the program in a way that the user can enter the number of bodies it wants to simulate, set a limit for 10 bodies (i.e. if the user enters more then 10, then the program asks the user again to enter the number of bodies they want to simulate)?​

Answers

Answered by niceli48
0

Answer:

hiiiiiiiiiiiiiiiiiiii

follow me

Explanation:

MARK me BRAINLIEST

what is your name

Similar questions