Answer to Question #262370 in Python for khaled

Question #262370

(Physics: find runway length) Given an airplane's acceleration a and take-of

speed v, you can compute the minimum runway length needed for an airplane to

take off using the following formula:

                 length

                      2a

  Write a program that prompts the user to enter v in meters/second (m/s) and the

acceleration a in meters/second squared (m/s), and displays the minimum runway

length. Here is a sample run:

Enter speed and acceleration: 60, 3.5 LEnter

The minimum runway length for this airplane is 514.286 meters


1
Expert's answer
2021-11-11T00:07:46-0500
x, y = map(float, input("Enter speed and acceleration:").split())
m = 1/2 * y * (x / y) ** 2  #formula for finding runaway length
print("The minimum runaway length for this airplane is", m, "meters")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS