Background The following formula can be used to determine the distance an object falls due to gravity in a specific time period: d= where d is the distance in meters, t is the time in seconds that the object has been falling, and g is the gravity constant on Earth which is equal to 9.8 m/s² The speed that an object falls is determined by the formula: Accept This Assignment ample Output alling Distance Calculator sing the time (t) and gravity (g) Assignment Description Vrite a program that will prompt the user for a starting time, ending time, and interval in seconds. The program will then calculate and generate a table like the one shown in the output example below that report the distance and speed of an bject in free fall starting at the start time, incrementing by the specified interval, and ending at a value within the specified end time. nter the start time: 10 nter the end time: 100 inter the time interval: 15 Seconds Speed Distance 10 25 40 55 70 85 100 OR 98 245 392 539 686 833 980 Falling Distance Calculator ➖➖➖➖➖➖➖➖ 490 3062 7840 14823 24010 35402 49000 s=gt

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
icon
Related questions
Question

I use python/pycharm when creating my answers.

# Falling Distance Calculator

## Background

The following formula can be used to determine the distance an object falls due to gravity in a specific time period:

\[ d = \frac{gt^2}{2} \]

where \( d \) is the distance in meters, \( t \) is the time in seconds that the object has been falling, and \( g \) is the gravity constant on Earth, which is equal to \( 9.8 \, \text{m/s}^2 \).

The speed that an object falls is determined by the formula:

\[ s = gt \]

using the time (\( t \)) and gravity (\( g \)).

## Assignment Description

Write a program that will prompt the user for a starting time, ending time, and interval in seconds. The program will then calculate and generate a table like the one shown in the output example below that reports the distance and speed of an object in free fall, starting at the start time, incrementing by the specified interval, and ending at a value within the specified end time.

[Accept This Assignment]()

## Sample Output

```
Falling Distance Calculator

Enter the start time: 10
Enter the end time: 100
Enter the time interval: 15

Seconds   Speed   Distance
-------   -----   --------
    10     98        490
    25    245       3060
    40    392       7840
    55    539      14410
    70    686      24010
    85    833      35420
   100    980      49000
```
Transcribed Image Text:# Falling Distance Calculator ## Background The following formula can be used to determine the distance an object falls due to gravity in a specific time period: \[ d = \frac{gt^2}{2} \] where \( d \) is the distance in meters, \( t \) is the time in seconds that the object has been falling, and \( g \) is the gravity constant on Earth, which is equal to \( 9.8 \, \text{m/s}^2 \). The speed that an object falls is determined by the formula: \[ s = gt \] using the time (\( t \)) and gravity (\( g \)). ## Assignment Description Write a program that will prompt the user for a starting time, ending time, and interval in seconds. The program will then calculate and generate a table like the one shown in the output example below that reports the distance and speed of an object in free fall, starting at the start time, incrementing by the specified interval, and ending at a value within the specified end time. [Accept This Assignment]() ## Sample Output ``` Falling Distance Calculator Enter the start time: 10 Enter the end time: 100 Enter the time interval: 15 Seconds Speed Distance ------- ----- -------- 10 98 490 25 245 3060 40 392 7840 55 539 14410 70 686 24010 85 833 35420 100 980 49000 ```
Expert Solution
Step 1

,According to the information given:-

We have to follow the instructions in orde to get the desired outcome.

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Unreferenced Objects
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
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education