Question: Sub - function 1 : C S V - Read This function retrieves the maximum allowable descent velocity, the acceleration due to gravity and the
Subfunction : Read
This function retrieves the maximum allowable descent velocity, the acceleration due to gravity and the air density from a csv file in your current working directory.
MaxVelocity rho CSVRead Filenamecsv
This function must use as input:
Filenamecsv is the full file name "Constants.csv stored in your working directory.
The function must give as output:
MaxVelocity, the maximum allowable descent velocity.
a scalar that represents the acceleration due to gravity.
rho a scalar that represents the air density.
Subfunction : TerminalVelocities
This function calculates the terminal velocity of each Hit parachute design, removes parachute IDs from the
structure array Properties that do not meet the maximum allowable descent velocity requirement specified in the csv file Constants, and the save the new structure array in Hits.
SafeVelocities TerminalVelocities Properties MaxVelocity, rho
This function must use as input:
Properties, a nested structure array containing the data of all the relevant data files from Task
MaxVelocity, the maximum allowable descent velocity.
a scalar that represents the acceleration due to gravity.
rho a scalar that represents the air density.
The function must give as output:
SafeVelocities, a nested structure array containing only parachute designs that meet the velocity requirements specified in Constants. Note: SafeVelocities contains only the parachute designs that meet the maximum allowable descent velocity criteria. An example, of structure array SafeVelocities is below:
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
