ENGR 2304 Lonestar College Functions Falling Distance Worksheet

When an object is falling because of gravity, the following formula can be used to determine the distance the object falls in a specific time period: d = ½* g*t2 And the velocity of the object falling is calculated as v=g*t The variables in the formula are as follows:So for instance, you’re standing at the edge of a cliff and drop a ball. It takes 10 sec to hit the ground. How high up are you? And what was the velocity of the ball?Write two functions:The function should return the distance, in meter, and velocity in m/s for the object has fallen during that time interval. Also print the put put in f-print style. Example: The falling distance for an object to have a free fall for 10 second is 490.0 meter. It’s falling velocity will be 98.0 m/s. Write a program that calls the function in a loop that passes the values 1 through 10 as arguments and displays the return values.