Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started