Question: Its a VB program Write a program to provide information on the height of a ball thrown straight up into the air. The program should
Its a VB program

Write a program to provide information on the height of a ball thrown straight up into the air. The program should request the initial height (h feet), and the initial velocity (v feet per second). The height of the ball (in feet) after t seconds is given by the formula h + vt - 16t^2 feet. The four options to be provided by buttons are as follows: a. Determine the maximum height of the ball. b. Determine approximately when the ball will hit the ground. c. Display a table showing the height of the ball every quarter second for five seconds or until it hits the ground. d. Quit. The following diagram shows a possible outcome for the program: Please note that for each of the 3 main buttons (Determine Maximum Height: Display Table; and Determine Approximate Time Until Ball Hits the Ground), you must clear the listbox before directing your output to the listbox. Write a program to provide information on the height of a ball thrown straight up into the air. The program should request the initial height (h feet), and the initial velocity (v feet per second). The height of the ball (in feet) after t seconds is given by the formula h + vt - 16t^2 feet. The four options to be provided by buttons are as follows: a. Determine the maximum height of the ball. b. Determine approximately when the ball will hit the ground. c. Display a table showing the height of the ball every quarter second for five seconds or until it hits the ground. d. Quit. The following diagram shows a possible outcome for the program: Please note that for each of the 3 main buttons (Determine Maximum Height: Display Table; and Determine Approximate Time Until Ball Hits the Ground), you must clear the listbox before directing your output to the listbox
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
