Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python code, do not use numpy only use math imports or copy imports. 6. (25 pts) The following describes a tiny part of the airplane

Python code, do not use numpy only use math imports or copy imports. image text in transcribed
image text in transcribed
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. 10 * 14Vua TO Sto 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 ThrustNeededForTakeoff (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 For Takeoff function. The function returns: the engine thrust needed to allow the airplane to take-off in the specified distance. Hint: The Thrust NeededForTakeoff 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 Thrust NeededFor Takeoff (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 Thrust NeededForTakeoft (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 stall Weight -tho-S-C max Thrust - 13000 Weight - 56000 $ - 1000 Lmas - 24 CD - 0.0279 tho - 0.002377 gc = 32.2 "TO - 1.2.V. stall 6000 Thrust A-gc Weight 4000F Sto(thrust) B gc Weight [3 tho-S(cp 2000 VTO STO dv 10000 30000 A-B.1 20000 thrust

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design A Practical Approach

Authors: Marilyn Campbell

1st Edition

1587193175, 978-1587193170

Students also viewed these Databases questions

Question

How does a freemium business model work?

Answered: 1 week ago