Question: I need help with this please! 6. (25 pts) The following describes a tiny part of the airplane design process - Choosing the engine size

I need help with this please!

I need help with this please! 6. (25 pts) The following describes

6. (25 pts) The following describes a tiny part of the airplane design process - Choosing the engine size needed to meet a take-off distance requirement (Sto). Sto is the distance an airplane will roll on the runway before it is able to lift off into the air. Calculating Sro is performed using a sequence of five equations shown below. Those equations require seven parameters that control takeoff performance. The engine thrust parameter is a major factor in determining take-off distance. The graph shows how take-off distance gets shorter as engine thrust is increased. Weight Weight = 56000 Thrust - 13000 $ - 1000 tho SC Cp -0.0279 30 - 322 the -0.002377 Vro - 12V stall A- Thrust Wh 4000 Stott the- Weight 2000 - V Sto - 10000 20000 30000 Write a Python program that includes and calls the following three functions: a) def STO (thrust): Thrust: the value of the engine thrust. Important, this is the only argument to be passed to this function. All of the other required airplane parameters may be assumed constant. Local variables for those parameters may be defined and assigned values inside the STO function. Use the airplane parameter values given in the figure above. The function returns: the airplane take-off distance, calculated using the five equations given above. The first four of those equations calculate the value of three constants to be used in the fifth equation (VTO, A and B). That fifth equation requires the use of numerical integration. Use your Simpson function to perform the integration. b) def Thrust NeededForTakeoff (distance): distance: the required take-off distance. Important, this is the only argument to be passed to this function. All of the other required airplane parameters may be assumed constant. Local variables for those parameters may be defined and assigned values inside the ThrustNeeded ForTakeoff function. The function returns: the engine thrust needed to allow the airplane to take-off in the specified distance. Hint: The ThrustNeededForTakeoff function behaves as the inverse of the STO function. Therefore it must use a root- finding method to find the value of thrust that causes: STO(thrust) -distance = 0. Use your Secant function to solve for this value of thrust. c) def main(): main() has no arguments and no return value. main() does the following: a) calls STO (13000) to calculate the take-off distance for an engine thrust of 13000 pounds. Print the answer with one decimal place, using a nice text label. The nice text label should include the thrust value of 13000 pounds. b) calls ThrustNeededForTakeoff (1500) to calculate the thrust needed to allow takeoff in 1500 feet. Print the answer with two decimal places, using a nice text label. The nice text label should include the takeoff distance of 1500 feet. c) calls ThrustNeededForTakeoff (1000) to calculate the thrust needed to allow takeoff in 1000 feet. Print the answer with two decimal places, using a nice text label. The nice text label should include the takeoff distance of 1000 feet. 6. (25 pts) The following describes a tiny part of the airplane design process - Choosing the engine size needed to meet a take-off distance requirement (Sto). Sto is the distance an airplane will roll on the runway before it is able to lift off into the air. Calculating Sro is performed using a sequence of five equations shown below. Those equations require seven parameters that control takeoff performance. The engine thrust parameter is a major factor in determining take-off distance. The graph shows how take-off distance gets shorter as engine thrust is increased. Weight Weight = 56000 Thrust - 13000 $ - 1000 tho SC Cp -0.0279 30 - 322 the -0.002377 Vro - 12V stall A- Thrust Wh 4000 Stott the- Weight 2000 - V Sto - 10000 20000 30000 Write a Python program that includes and calls the following three functions: a) def STO (thrust): Thrust: the value of the engine thrust. Important, this is the only argument to be passed to this function. All of the other required airplane parameters may be assumed constant. Local variables for those parameters may be defined and assigned values inside the STO function. Use the airplane parameter values given in the figure above. The function returns: the airplane take-off distance, calculated using the five equations given above. The first four of those equations calculate the value of three constants to be used in the fifth equation (VTO, A and B). That fifth equation requires the use of numerical integration. Use your Simpson function to perform the integration. b) def Thrust NeededForTakeoff (distance): distance: the required take-off distance. Important, this is the only argument to be passed to this function. All of the other required airplane parameters may be assumed constant. Local variables for those parameters may be defined and assigned values inside the ThrustNeeded ForTakeoff function. The function returns: the engine thrust needed to allow the airplane to take-off in the specified distance. Hint: The ThrustNeededForTakeoff function behaves as the inverse of the STO function. Therefore it must use a root- finding method to find the value of thrust that causes: STO(thrust) -distance = 0. Use your Secant function to solve for this value of thrust. c) def main(): main() has no arguments and no return value. main() does the following: a) calls STO (13000) to calculate the take-off distance for an engine thrust of 13000 pounds. Print the answer with one decimal place, using a nice text label. The nice text label should include the thrust value of 13000 pounds. b) calls ThrustNeededForTakeoff (1500) to calculate the thrust needed to allow takeoff in 1500 feet. Print the answer with two decimal places, using a nice text label. The nice text label should include the takeoff distance of 1500 feet. c) calls ThrustNeededForTakeoff (1000) to calculate the thrust needed to allow takeoff in 1000 feet. Print the answer with two decimal places, using a nice text label. The nice text label should include the takeoff distance of 1000 feet

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 Databases Questions!