Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please use JAVA to answer this Chapter 1-3 quiz Two students find themselves on the roof of the Marchant building to test the validity of
Please use JAVA to answer this
Chapter 1-3 quiz Two students find themselves on the roof of the Marchant building to test the validity of the formula d= .5at?. Where d represents distance and a represents acceleration and t represents time. From a previous experiment the students know that the height from where they are standing to the ground is 53 feet. They also know from their physics class that acceleration is 32 ft/sec?. Now they plan to drop a bowling ball to the ground and record the time it takes for it to hit the ground with a very accurate timing mechanism. But before they do this, they want you to write a program to determine the time according to the above equation as a point of reference. They would like the program's input and output to look like that shown below. In fact, they want the main program to take the values of distance and acceleration and pass them to a function that will calculate the time and return it to the main function where it is outputted. (note: Math.sqrt(number) will return the square root of a number). 885 Enter the value of distance 53 Enter the value for acceleration 32 The time required for the bowling ball to hit ground is 1.8200274723201295 |Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started