Question: Please answer in MATLAB 3.Simple Rocket Consider the flight path of a rocket flying in 2D. Use the same model as presented in Wednesdays video,
Please answer in MATLAB
3.Simple Rocket Consider the flight path of a rocket flying in 2D. Use the same model as presented in Wednesdays video, which includes a drag force as well as the force of gravity, but include the following effects:
The mass of the rocket decreases over time at a constant rate, (read as m dot). This means the mass of the rocket, is given by ()=0, where 0 is the initial mass
There is a constant Thrust force(), oriented parallel to the velocity vector For this problem, use =0.1,=0.12,=1/3,=1000,
0=30,=0.5/.
Using ODE45, solve for the rockets trajectory from t = 0 to t = 20s, and use an initial condition of 0=0=0, 0=0.01/, 0=1/
Save the vector representing ()on HW7_10.dat, and the vector representing ()on HW7_11.dat.
Also, plot the trajectory of the rocket, ()vs. ()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
