Question: A rocket is launched vertically: At time t=0, the rocket's engine shuts down. At that time, the rocket reached an altitude of 500m and rose
A rocket is launched vertically: At time t=0, the rocket's engine shuts down. At that time, the rocket reached an altitude of 500m and rose at a velocity of 125m/s. Gravity then takes over. The height of the rocket as a function of time is h(t)=2g+t2+v=t+d where: g=9.81m/s2,v=125m/s and d=500m. a) Create a function called height that accepts time as an input and returns the rocket's height. Use your function in your solutions to parts b and c. b) Plot height vs. time for times from 0 to 30 seconds. Use an increment of 0.5 seconds 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
