subject

When a ball is thrown vertically upward from a reference location, it travels to a maximum height and then changes direction and experiences a fall. Ignoring the air resistance and a number of other tiny influences, the location of the ball (H) and its velocity (V) at time ( t) can be expressed by the following expressions:tgVoV)(2)2/()(tgtVoH Here Vois the initial upward velocity, gis the earth gravitational acceleration (9.81 m/s 2)and His measured upward from the reference location. Usingthe above expressions one can find the time(tm) it takes for the ball to reach its maximum height(Hm) and the time it takes for the ball to return to its reference location (tr) as listed below:gVotm/)2/(2gVoHmgVotr/2Wri te a program to:1.read the initial velocity of the ball from the keyboard and calculate tm, Hm, and trand then print their values with appropriate labels. Test the program for Vo= 100 m/sec.2.read a value for the time and calculate the corresponding velocity and the height of the ball and print their values with proper labels(use Vo= 100); test the program for t= 15 sec.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 14:20, jeffcarpenter
Once starbucks had established its presence in thousands of cities internationally, the company sought to increase the number of purchases by existing customers with a strategy that led to new in-store merchandise, including compilation cds and high-speed wireless access.
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, gamingisfun
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
image
Computers and Technology, 23.06.2019 21:30, maddietomlinson113
Examine the list below. which factors positively affect lifetime income? check all that apply.
Answers: 1
image
Computers and Technology, 24.06.2019 02:00, akatherine1738
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
You know the right answer?
When a ball is thrown vertically upward from a reference location, it travels to a maximum height an...

Questions in other subjects: