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]= delaySensitivity(avgThrust, maxDelay)
% Compute rocket flight times for a range of ejection delays.
% Engine is assumed to be B-class (5 N*s total impulse) with an
% average thrust of avgThrust [N].
% delays is a vector of ejection delays [s], running from 0 s to
% maxDelay [s] in increments of 0.25 s.
% times is a vector of rocket flight times, such that times(k) is how
% long the rocket was in the air when powered by an engine with an
% ejection delay of delays(k).
Write a script, analyzeRocket.m, that calls this function and plots the rockets flight duration vs. delay time
for delays as large as 7 s, using B6 engines (6 N average thrust). Set the time step for this section to be 0.001 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!