Create a program that determines how quickly an object is travelling when it hits the ground (we'll label this "final velocity" or v. The user will enter the height from which the object is dropped a distance (d) in meters (m). Your output should be formatted such that you always display ONE digit after the decimal place for the final velocity (e.g.: 20.2, 15.5, 10.0, etc.) Because the object is dropped from some height, you may assume its initial speed (v) is O meters-per- second (m/s). We are on Earth using metric values for our calculations; therefore assume acceleration (designated a in the following formula) due to gravity is 9.8m/s? You can use the following general formula to find the final speed v Vf = Vv? + 2ad Again the initial speed, v, is zero, since we are dropping the object. Acceleration, a, has been given to you since we are on Earth. The distance, d, is input by the user. • Don't forget: Include a flowchart that describes your program's operation (this will be counted as part of your grade as 'documentation' in the grading rubric) Sample Output: = RESTART: /Users/keithbagley/Dropbox/NORTHEASTERN UNI ork/HW1/gravity.py Final velocity calculator What is the height/distance (in meters): 100 The object will hit the ground at a speed of 44.3 m/s. AMAZING points: These final two points may be awarded if you've completed the rest of the assignment perfectly and blown us away with. Using constants where appropriate Using round or format functions only for printing out, and do not save any values that have been rounded off, floored, etc.
Create a program that determines how quickly an object is travelling when it hits the ground (we'll label this "final velocity" or v. The user will enter the height from which the object is dropped a distance (d) in meters (m). Your output should be formatted such that you always display ONE digit after the decimal place for the final velocity (e.g.: 20.2, 15.5, 10.0, etc.) Because the object is dropped from some height, you may assume its initial speed (v) is O meters-per- second (m/s). We are on Earth using metric values for our calculations; therefore assume acceleration (designated a in the following formula) due to gravity is 9.8m/s? You can use the following general formula to find the final speed v Vf = Vv? + 2ad Again the initial speed, v, is zero, since we are dropping the object. Acceleration, a, has been given to you since we are on Earth. The distance, d, is input by the user. • Don't forget: Include a flowchart that describes your program's operation (this will be counted as part of your grade as 'documentation' in the grading rubric) Sample Output: = RESTART: /Users/keithbagley/Dropbox/NORTHEASTERN UNI ork/HW1/gravity.py Final velocity calculator What is the height/distance (in meters): 100 The object will hit the ground at a speed of 44.3 m/s. AMAZING points: These final two points may be awarded if you've completed the rest of the assignment perfectly and blown us away with. Using constants where appropriate Using round or format functions only for printing out, and do not save any values that have been rounded off, floored, etc.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Please explain the steps of the coding attached.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education