(C++ PROGRAM)
How far has an object fallen after t seconds? Equation:d=gt2/2
d-distance that object traveled after falling.
g- gravity acceleration. it is about 9.8 m/s/s
t-time that object traveled after falling .
Write a function to calculate how far an objects has fallenafter t seconds.
The function should accept g and t as arguments. The functionshould return the distance traveled after falling t seconds.
Expert Answer
An answer will be send to you shortly. . . . .