Write a program to provide information on the height n veloc

April 17, 2013 at 01:18:34
Specs: Windows XP
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, as input. The four options to
be provided by buttons are as follows:
(3) Determine the maximum height of the ball. Note: The ball will reach
its maximum height after v/32 seconds.
(b)
Determine approximately when the ball will hit the ground. Hint:
Calculate the height after every . 1 second and observe when the height
is no longer a positive number.
(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 formula for the height of the ball after t seconds, h + v*t — 16*t*t should
be specified in a user-defined function. (Test the program with v = 148 and h = 0.
This velocity is approximately the top speed clocked for a ball thrown by a proffesional
baseball pitcher.
It is homework help. I honestly do not know where to begin after designing the form. Any help would be great. I figured I would try and get some sort of help if someone was bored and willing.
Thanks!

See More: Write a program to provide information on the height n veloc

Report •

#1
April 17, 2013 at 02:46:35
Begin with psudo-code.

Post where you're stuck.

=====================
M2 Golden-Triangle


Report •

#2
April 17, 2013 at 07:38:27

Report •
Related Solutions


Ask Question