Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PROGRAMMING ASSIGNMENT : PE2.12RunwayLength Due Date: May 25, 2020 Given an airplane's acceleration a and take-off speed v, you can compute the minimum runway length
PROGRAMMING ASSIGNMENT:PE2.12RunwayLengthDue Date:May 25, 2020
Given 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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started