Ask Question
28 August, 10:54

iven an airplane's acceleration a and take-off speed v, you can compute the minimum runway length needed for an airplane to take off using the following formula: length = v^2 / 2 * a 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 2), then, 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

+5
Answers (1)
  1. 28 August, 13:40
    0
    v, a = [float (x) for x in input ("Enter speed and acceleration: "). split () ]

    length = (v * v) / (2 * a)

    print ("The minimum runway length for this airplane is %.3f" % length)

    Explanation:

    *The code is in Python

    Ask the user to enter the values for v and a, to get multiple inputs in one line use list comprehension and the split function

    Calculate the length using given formula, v^2 / 2 * a

    Print the length with 3 decimal places
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “iven an airplane's acceleration a and take-off speed v, you can compute the minimum runway length needed for an airplane to take off using ...” in 📘 Engineering if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers