Ask Question
8 January, 07:17

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

+1
Answers (1)
  1. 8 January, 07:45
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers