Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

More Books

Students also viewed these Databases questions

Question

What are the disadvantages of the closed layered architecture?

Answered: 1 week ago

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago