Question: Write a program to provide information on the height of a ball thrown straight up into the air. The program should request as input the
Write a program to provide information on the height of a ball thrown straight up into the air. The program should request as input the initial height (ho) in feet, and the initial velocity, v feet per second. The height of the ball after t seconds is given by the formulae h hot v t-16 t2 Provide five option buttons as shown in the form to compute the following. 1. Write a function that determines the maximum height of the ball. Note: the ball will reach its maximum height after t Determine approximately when the ball will hit the ground. Hint: calculate the height after every 0.1 second and observe when the height is no longer a positive number v/32 seconds. 2. 3. Write a function to determine approximately when the ball wl begin to descend. Hint: Calculate the height after every 0.1 second and observe when the height is no longer greater than the previous height. 4. Write a Sub Procedure to display a table showing the height of the ball every quarter second for five seconds or untill it hits the ground 5. Quit. Write your ld Initial Height in Feets Initial Velocity in Feets/seconds hits the ground time untl Ball Display Table List Quit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
