Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The program must prompt for the intial height S and the initial velocity V as floating numbers. The program should also calculate the number of

The program must prompt for the intial height S and the initial velocity V as floating numbers. The program should also calculate the number of seconds it takes for the projectile to hit the ground along with the maximum height achieved rounded to 2 decimal places.image text in transcribed

The purpose of this programming project is to write a C++ program to calculate the effect of gravity on a projectile (i.e., an object) that is thrown, shot, or dropped. More specifically, the height of an object propelled directly upward from an initial height s_0 at an initial velocity v_0 is given by where v_0 is in feet/second and s_0 is in feet. The maximum height (at the vertex) can be found at the coordinates: Visually, you may view the height of the object over time by the following graph: you are to calculate how long it takes Using the quadratic equation the projectile to hit the ground, as defined by the zero, or x-intercept, of the equation (see above diagram). Additionally, you are to calculate the maximum height the object attains using the formula for the coordinates given above. The purpose of this programming project is to write a C++ program to calculate the effect of gravity on a projectile (i.e., an object) that is thrown, shot, or dropped. More specifically, the height of an object propelled directly upward from an initial height s_0 at an initial velocity v_0 is given by where v_0 is in feet/second and s_0 is in feet. The maximum height (at the vertex) can be found at the coordinates: Visually, you may view the height of the object over time by the following graph: you are to calculate how long it takes Using the quadratic equation the projectile to hit the ground, as defined by the zero, or x-intercept, of the equation (see above diagram). Additionally, you are to calculate the maximum height the object attains using the formula for the coordinates given above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions