Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started