Question: Use Basic/Beginner C++ skills, code in Visual Studio 2017 Also use cin/cout,etc When a ball is thrown vertically upward from a reference location, it travels

Use Basic/Beginner C++ skills, code in Visual Studio 2017 Also use cin/cout,etcUse Basic/Beginner C++ skills, code in Visual Studio 2017 Also use cin/cout,etc

When a ball is thrown vertically upward from a reference location, it travels to a maximum height and then changes direction and experiences a fall. Ignoring the air resistance and a number of other tiny influences, the location of the ball (H) and its velocity (V) at time ) can be expressed by the following expressions: Here Vo is the initial upward velocity, g is the earth gravitational acceleration (9.81 m/s) and H is measured upward from the reference location. Using the above expressions one can find the time(tm) it takes for the ball to reach its maximum height(Hm) and the time it takes for the ball to return to its reference location (tr) as listed below: tr=210/g Write a program to: 1. read the initial velocity of the ball from the keyboard and calculate t, Hm, and r and then print their values with appropriate labels. Test the program for Vo-100 m/sec read a value for the time and calculate the corresponding velocity and the height of the ball and print their values with proper labels(use Vo 100); test the program for 1-15 sec 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!