Question
C++ *please do not handwrite* The velocity of a falling object dropped from a resting position is found using the following equation: v=gt where: v
C++ *please do not handwrite*
The velocity of a falling object dropped from a resting position is found using the following equation: v=gt
where: v is the velocity in meters per second
g is the acceleration of gravity (9.8 m/s^2)
t is the time since the object was dropped, in seconds
The distance traveled by the falling object is found using the equation: d=(1/2)gt^2
Where: d = is the distance traveled in meters
g is the acceleration of gravity (9.8 m/s^2)
t is the time since the object was dropped in seconds
Write a complete program that accepts input of time since the object was dropped and determines the velocity and distance traveled. display the time, velocity, and distance at the end of the program. To test your program, execute the program using time =1.5 sec, and then execute it again using time=4 sec.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started