Question: 3. Write a program to provide information on the height of a ball thrown straight up into the air. The program should request as input

 3. Write a program to provide information on the height of

3. 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, 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 t 16 feet. The five options to be provided by buttons are as follows: (a) Determine the maximum height of the ball. Note: The ball will reach its maximum height after v/32 seconds. after every .1 second and observe when the height is no longer a positive number height after every .1 second and observe when the height is no longer greater than the (b) Determine approximately when the ball will hit the ground. Hint: Calculate the height (c) Determine approximately when the ball will begin to descend. Hint: Calculate the previous height. (d) Display a table showing the height of the ball every quarter second for five seconds or until it hits the ground. See Fig. 6.14. e) Quit Projectile Motion nitial Height: 5 feet) Initial Velocty: 34 feet/second) Determine Maximum Height Approxdimate Time Untl It Hits The Ground Display Table Approxdmate Time Until Ball Starts Tize 0.00 0.25 0.50 0.75 1.00 1.25 1.50 1.75 2.00 2.25 Height 5.0 12.5 18.0 21.S 23.0 22.5 20.0 15.5 9.0 0.5 Qut FIGURE 6.14 Sample Output for Programming Project 3. 3. 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, 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 t 16 feet. The five options to be provided by buttons are as follows: (a) Determine the maximum height of the ball. Note: The ball will reach its maximum height after v/32 seconds. after every .1 second and observe when the height is no longer a positive number height after every .1 second and observe when the height is no longer greater than the (b) Determine approximately when the ball will hit the ground. Hint: Calculate the height (c) Determine approximately when the ball will begin to descend. Hint: Calculate the previous height. (d) Display a table showing the height of the ball every quarter second for five seconds or until it hits the ground. See Fig. 6.14. e) Quit Projectile Motion nitial Height: 5 feet) Initial Velocty: 34 feet/second) Determine Maximum Height Approxdimate Time Untl It Hits The Ground Display Table Approxdmate Time Until Ball Starts Tize 0.00 0.25 0.50 0.75 1.00 1.25 1.50 1.75 2.00 2.25 Height 5.0 12.5 18.0 21.S 23.0 22.5 20.0 15.5 9.0 0.5 Qut FIGURE 6.14 Sample Output for Programming Project 3

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!