subject

Projectile Motion 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 after t seconds is h + vt - 16t2 feet. The program should perform the following two calculations: (a) 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 determine when the height is no longer a positive number. A function named getInput should be used to obtain the values of h and v and that function should call a function named isValid to ensure that the input values are posi- tive numbers. Each of the tasks (a) and (b) should be carried out by functions. See Fig. 4.35.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:30
What kind of software users of all skill levels create web pages that include graphics, video, audio, animation, and other special effects? website authoring website software website publishing website editing
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
When building customer relationships through email what should you not do? question 2 options: utilize proper grammar, spelling, and punctuation type in all capital letters use hyperlinks rather than attachments respond to all emails within 24 hours
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Design a class tictactoe that: holds the following information about the game: two-dimensional array (3 by 3), and winner. add additional variables as needed. includes the functions to perform the various operations on objects. for example, function to print the board, getting the move, checking if move is valid, determining if there is a winner after each move. add additional operations as needed. includes constructor(s). write the functions of the class, and write a program that uses the class. the program should declare an object of type tictactoe. the program will create the board and store it in the array. the program will allow two players to play the tic-tac-toe game. after every valid move update the array, check if there is a winner. if there is no winner and no tie, then print the board again to continue.
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Write an essay on online collaboration, how to do it, the challenges, resolving the challenges, and consider whether the risks are greater than rewards. ( need )
Answers: 1
You know the right answer?
Projectile Motion Write a program to provide information on the height of a ball thrown straight up...
Questions
question
Mathematics, 05.06.2021 05:30
question
Business, 05.06.2021 05:30
question
Mathematics, 05.06.2021 05:30
question
Mathematics, 05.06.2021 05:30
question
Geography, 05.06.2021 05:30
question
Mathematics, 05.06.2021 05:30
question
Mathematics, 05.06.2021 05:30
Questions on the website: 13722360