Home /
Expert Answers /
Computer Science /
using-matlab-and-orbit-m-nbsp-4-for-an-ellipse-the-radial-position-varies-with-angle-as-a-1-6-r-pa935
(Solved): USING MATLAB AND ORBIT.m
4. For an ellipse, the radial position varies with angle as a(1-6) r ...
USING MATLAB AND ORBIT.m
4. For an ellipse, the radial position varies with angle as a(1-6) r(0) = 1- ecos e Modify the orbit program to compute and plot the absolute fractional error in r(0) versus time. Using the Euler-Cromer method, obtain results for an initial radial dis- tance of 1 AU, an initial tangential velocity of 7 AU/yr, and time stcps of = 0.01, 0.005, and 0.001 yr. (Computer]
Answer The orbit of every planet is an ellipse with the Sun at one of the two foci. Mathematically, an ellipse can be represented as: r = p/(1 - e cos?) where p is the semi-latus rectum, and ? is the eccentricity of the ellipse, and r is the distance