Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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_2

Step: 3

blur-text-image_3

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

Learning MySQL Get A Handle On Your Data

Authors: Seyed M M Tahaghoghi

1st Edition

0596529465, 9780596529468

More Books

Students also viewed these Databases questions

Question

2. How will you handle the situation?

Answered: 1 week ago

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago