Question: PYTHON HOMEWORK When an object is falling because of gravity, the following formula can be used ot determine the distance the object falls during a
PYTHON HOMEWORK
When an object is falling because of gravity, the following formula can be used ot determine the distance the object falls during a specific time period: d=1/2 g t^2 The variables in the formula are as follows: d is the distance in meters(m), g is the acceleration due to gravity, an and its value is 9.8 m/s^2, t is the time duration in seconds(s). Write a function named falling_distance() that accepts an object's falling duration(time) in seconds as an argument. The function ten prints the distance in meters, that the object has fallen during that time interval. Write a program (main) that prompts the user to enter time duration and then calls the function falling_distance() to print the object's falling distance.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
