Question: please show all your MATLAB work A rocket is launched vertically. At time 0, the rocket's engine shuts down. At that time, the rocket has
please show all your MATLAB work

A rocket is launched vertically. At time 0, the rocket's engine shuts down. At that time, the rocket has reached an altitude of 500 m and is rising at a velocity of 125 m/s. Gravity then takes over. The height of the rocket as a function of time is 9.8 h( 12 + 125t 500 for t0 (a) Create a function called height that accepts time as an input and returns the height of the rocket. Use your function in your solutions to parts b andc (b) Plot height vs. time for times from O to 30 seconds. Use an increment of 0.5 second in your time vector. (c) Find the time when the rocket starts to fall back to the ground. (The max function will be helpful in this exercise.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
