Question: create a script in matlab based on the criteria An emergency braking parachute has been designed for a Government aircraft. Based on physics analysis, upon
create a script in matlab based on the criteria An emergency braking parachute has been designed for a Government aircraft. Based on physics analysis, upon landing the parachute should slow the aircraft according to the following equation: V. V(t) 1+ where Vit) is the speed of the aircraft as a function of the time after touchdown, Vis the initial speed at touchdown in meters/second, t is the time in seconds, and is a model constant with units of meters You are to write a script file that will error check an input value, calculate the above function and plot the result as described below. . The script should Prompt the user for the model constant Cin units of meters. Error check the input value of Cto make sure that it is a positive number. If it is not positive, inform the user that the number entered was not positive and ask that they reenter the number. Continue to error check until the user enters a positive value. Create 150 points in time evenly spaced between 0 and 25 seconds) Create a variable for initial velocity (V) and set the value to 100 meters per second) Pass the vector of time values and the scalars Cand V to a function that will calculate a vector of V values Plot the V values as a function of the time values Label the x-axis Time with units of (seconds) Label the v-axis velocity with units of m/s (meters per second] Title the plot'Velocity after Touchdown' . . . The function should Use the above equation to calculate a vector of 'V' values from the vector of time values and the scalars Candy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
