Question: Exercise 4 Projectile Motion General Write a program to provide information on the height of a ball thrown straight up in the air. The program

Exercise 4

Projectile Motion

General

Write a program to provide information on the height of a ball thrown straight up in the air. The program should request as input 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 16t2. Note: this exercise is basically the same project described on page 286 of your text.

Button Controls

Determine Maximum Height Calculates maximum height of the ball which occurs after v/32 seconds.

Determine When Ball Hits the Ground Calculate (approximately) when the ball will hit the ground. Hint: calculate the height after every .1 seconds and determine when the height is no longer a positive number.

Display Table Display a table showing the height of the ball every quarter of a second for 5 seconds or until it hits the ground.

Exit Close the program.

Additional Requirements

You must use a separate function to calculate the height of the ball.

I need to build this program using visual basic language please help me if you can

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!