Answered step by step
Verified Expert Solution
Question
1 Approved Answer
use matlab, it you copy another answer you will be downvoted Q9: Use Euler integration to integrate the following equation for the motion of earth
use matlab, it you copy another answer you will be downvoted
Q9: Use Euler integration to integrate the following equation for the motion of earth around the sun dt2d2r1=Gm2r1(t)r2(t)3r1(t)r2(t), where r1,r2R3 are three dimensional vectors, and r1(0)=[149.6109,0,0]T m, and r1(0)=[1,30103,1]Tm/s.G=6.673841011m3kg1s2 is the gravitational constant, and m2=1.9891030kg is the mass of the sun. You may assume r2(t)=0 at all times. Plot the trajectory of the earth for 2 years. Does the earth traverse the same path in the second year? if not, fix your time-step size until it does. What timestep size did you select? (hint: the equation above is a set of three uncoupled differential equations; use plot3 in MATLAB to plot the trajectory). Organize your code into sections before publishing it as a pdf. Append this pdf to the rest of the homework in a proper location 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