Answer to Question #261984 in Python for khaled

Question #261984

Instructions: You should submit your answer to this question as a Python code

with .py extension to the corresponding question in Google Classroom.

Attention: Make sure to write your name, surname, and student ID number.

Question:

 (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 te

 take off using the following formula:

                  length

                        2a

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

 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 Enter

 The minimum runway length for this airplane is 514.286 meters


1
Expert's answer
2021-11-06T11:48:22-0400
a, b = map(int, input("Enter speed and acceleration:").split())
m = 0.5 * b * (a / b) ** 2
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