Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MATLAB Coding From the starting point of the geosynchronous orbit code, turn the script into a function that takes four inputs ( 1 ) a
MATLAB Coding From the starting point of the geosynchronous orbit code, turn the script into a function that takes four inputs a starting velocity, a starting position, the size of the time step, and a total run time and returns the ratio of the distance from the satellite to the Earth at the end of the simulation over the distance from the satellite to the center of the Earth at the start of the simulation. Also make a second version of this same function that does not use the Verlet algorithm, but instead updates the position using the velocity in one step and then updates the velocity using the force in a second step. The deliverables are a color plot where the xaxis is time step, the yaxis is total run time, and the color axis is the absolute value of the difference in ratios from the two functions, plotted on a log scale for the geosynchronous condition and a short description in words of your conclusions based on the results. Your color map should be at least x and cover a nontrivial parameter space meaning enough range that something changes You should make a small matlab program that creates this plot, but no code will be graded.
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