Question: By changing the ejection delay of the engine, we control how high the rocket is when it deploys parachutes: deploy too early, and the rocket
By changing the ejection delay of the engine, we control how high the rocket is when it deploys parachutes:
deploy too early, and the rocket wont have reached its peak altitude yet; deploy too late, and the rocket might
become a lawn dart! Wed like to visualize our sensitivity to this delay.
Implement the following function it should call your function rocketTime, and yes, you can call a function
within a function as long as they are under the same folder, or you provide the working directory before calling:
function delays times delaySensitivityavgThrust maxDelay
Compute rocket flight times for a range of ejection delays.
Engine is assumed to be Bclass Ns total impulse with an
average thrust of avgThrust N
delays is a vector of ejection delays s running from s to
maxDelay s in increments of s
times is a vector of rocket flight times, such that timesk is how
long the rocket was in the air when powered by an engine with an
ejection delay of delaysk
Write a script, analyzeRocket.m that calls this function and plots the rockets flight duration vs delay time
for delays as large as s using B engines N average thrust Set the time step for this section to be s
Title the plot Sensitivity to ejection delay and label the x and y axes appropriately with units, as always
Write a comment in your script saying which delay you would choose to win the airborne duration contest.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
