Question: Write a C code that meets the following requirements: C. Exercise: Revisiting the Free Falling Parachutist - Using Loops to work with Arrays (60 marks)
Write a C code that meets the following requirements:

C. Exercise: Revisiting the Free Falling Parachutist - Using Loops to work with Arrays (60 marks) It's time to revisit again the program that computes how the velocity of a parachutist changes between t- 0 and time t-tr(where t-0 is when the parachutist jumped out of a hot air balloon and his or her velocity is zero. The parachute is open immediately). You shall use a loop to update the contents of arrays with time/velocity data points and a table is used to display the results. The program is very similar to the one in exercise A, but there are some differences. Recall that the velocity as a function of time, v(), is calculated as -(clm)t The following table provides a test case that can be used for testing the software (this table was generated using Microsoft Excel, see the file GNGI106Lab5TestCases.xls). The velocity is computed using the above equation. Weight Drag CoefficientFinal TimeTime t VelocityTime t Velocity m/s 0.00 0.24 0.48 0.72 0.96 1.20 1.44 1.68 1.92 0.006.24 2.306.48 4.506.72 6.96 7.20 10.557.44 12.407.68 7.92 15.86 8.16 8.40 8.64 20.50 8.88 21.929.12 23.28 9.36 36.41 37.14 37.84 38.51 39.15 39.76 40.35 6.61 8.63 40.9 41.45 41.97 42.46 42.93 43.38 43.81 9.60 44.22 44.62 3.8427010.0845.00 4.0828.1410.32 45.36 45.71 46,04 46.35 46.66 46.95 47.22 5.7634.84 12.0047.49 17.48 19.02 2.40 2.64 2.88 68.1 12.5 12.0 3.36 3.60 24.589 25.82 9.84 4.32 4.56 4.80 5.04 5.28 5.52 29.2310.56 30.27 10.80 31.27 .04 32.2211.28 33.13.52 34.01 11.76 6.00 35.64 A project containing a partially completed program is provided. Your task is to complete the program. Here are a few notes/guidelines .The program's tasks are divided into three functions, one for getting user input (getInput), one for computing data points (computeVelocity) and one for displaying the table of results (displayTable) A single structure contains all data related to the parachutist including the input data (weight, drag and final time) as well as output data (an array with time values and an array with velocity values). You must add the members to this structure C. Exercise: Revisiting the Free Falling Parachutist - Using Loops to work with Arrays (60 marks) It's time to revisit again the program that computes how the velocity of a parachutist changes between t- 0 and time t-tr(where t-0 is when the parachutist jumped out of a hot air balloon and his or her velocity is zero. The parachute is open immediately). You shall use a loop to update the contents of arrays with time/velocity data points and a table is used to display the results. The program is very similar to the one in exercise A, but there are some differences. Recall that the velocity as a function of time, v(), is calculated as -(clm)t The following table provides a test case that can be used for testing the software (this table was generated using Microsoft Excel, see the file GNGI106Lab5TestCases.xls). The velocity is computed using the above equation. Weight Drag CoefficientFinal TimeTime t VelocityTime t Velocity m/s 0.00 0.24 0.48 0.72 0.96 1.20 1.44 1.68 1.92 0.006.24 2.306.48 4.506.72 6.96 7.20 10.557.44 12.407.68 7.92 15.86 8.16 8.40 8.64 20.50 8.88 21.929.12 23.28 9.36 36.41 37.14 37.84 38.51 39.15 39.76 40.35 6.61 8.63 40.9 41.45 41.97 42.46 42.93 43.38 43.81 9.60 44.22 44.62 3.8427010.0845.00 4.0828.1410.32 45.36 45.71 46,04 46.35 46.66 46.95 47.22 5.7634.84 12.0047.49 17.48 19.02 2.40 2.64 2.88 68.1 12.5 12.0 3.36 3.60 24.589 25.82 9.84 4.32 4.56 4.80 5.04 5.28 5.52 29.2310.56 30.27 10.80 31.27 .04 32.2211.28 33.13.52 34.01 11.76 6.00 35.64 A project containing a partially completed program is provided. Your task is to complete the program. Here are a few notes/guidelines .The program's tasks are divided into three functions, one for getting user input (getInput), one for computing data points (computeVelocity) and one for displaying the table of results (displayTable) A single structure contains all data related to the parachutist including the input data (weight, drag and final time) as well as output data (an array with time values and an array with velocity values). You must add the members to this structure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
