Question: Exercise 1 Planetary orbits [15 points] The equations of motion for the position x, y of a planet in its orbital plane are d 2x

Exercise 1 Planetary orbits [15 points] The equations of motion for the position x, y of a planet in its orbital plane are d 2x dt2 = GM x r 3 , d 2y dt2 = GM y r 3 , where G = 6.67381011 m3 kg1 s 2 is Newton's gravitational constant, M = 1.98911030 kg is the mass of the Sun, and r = p x 2 y 2. (i) Transform this system of two second order ODEs into an equivalent system of four first order ODEs. (ii) The Earth's orbit is not perfectly circular, but rather slightly elliptical. When it is at its closest approach to the Sun, its perihelion, it is moving precisely tangentially (i.e., perpendicular to the line between itself and the Sun) and it has distance 1.4710 1011 m from the Sun and linear velocity 3.0287104 ms1 . Write a program to calculate the orbit of the Earth, using 4th order Runge-Kutta implemented explicitly. Make a plot of the orbit (i.e., a plot of y against x), showing at least two complete revolutions about the Sun. Make sure to set the aspect ratio so that the orbit does not appear distorted, for example

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Physics Questions!