Question: Using MatLab Develop a simulation using Newtonian mechanics to predict the flight of spacecraft slingshotting around a single planet. For your simulation you may assume

Using MatLab
Develop a simulation using Newtonian mechanics to predict the flight of spacecraft slingshotting around a single planet. For your simulation you may assume the planet is not moving. You should develop and an array of times, and positions for your spacecraft. Assume constant acceleration for each time step. Use the following initial conditions to get you simulation running. Here are a set of initial conditions to help get your simulation running %m-3/(kg %kg s^2)) GRAVITY 6.67408e-11; MASS-EARTH: 5.972e24; X POS EARTH0 Y POS EARTH -1e8; 0; %m 1000; 1000; SAT %m X-POS-ZERO Y-POS ZERO X SAT- %m/s %m/s | VEL-ZERO-SAT Y VEL-ZERO-SAT = nsteps 1000; TIME-STEP = 60; %s satPos zeros (nsteps, 2); satVeL zeros (nSteps,2) time zeros (nSteps,1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
