Write test and run a c program that calculation and display


When a particular rubber ball is dropped form a given height (in metere) its impact speed (in meters /second when it hits the ground is given by this formula speed=2gh

Where g is the acceleration caused by gravity and h is the height.the ball then rebounds to 2/3 the height from which it last fell write test and run a c++ Program that calculation and display the impact speed of the first three bounces and the rebound height of each bounce.

Test your program by using an intial height of 2.0 meters

Run the programs twice and compare the results for dropping the ball on earthe (g=9.81 m/s 2) and the moon (g=1.67 m/s 2)

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write test and run a c program that calculation and display
Reference No:- TGS02885081

Expected delivery within 24 Hours