Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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 as input the initial height (ho) in feet, and the initial velocity, v feet per second. The height of the ball after t seconds is given by the formulae h hot v t-16 t2 Provide five option buttons as shown in the form to compute the following. 1. Write a function that determines the maximum height of the ball. Note: the ball will reach its maximum height after t Determine approximately when the ball will hit the ground. Hint: calculate the height after every 0.1 second and observe when the height is no longer a positive number v/32 seconds. 2. 3. Write a function to determine approximately when the ball wl begin to descend. Hint: Calculate the height after every 0.1 second and observe when the height is no longer greater than the previous height. 4. Write a Sub Procedure to display a table showing the height of the ball every quarter second for five seconds or untill it hits the ground 5. Quit. Write your ld Initial Height in Feets Initial Velocity in Feets/seconds hits the ground time untl Ball Display Table List Quit

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

Step: 3

blur-text-image

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

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students also viewed these Databases questions

Question

6. discuss the role of parental involvement in youth sport, and

Answered: 1 week ago