Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The following formula can be used to determine the distance an object falls due

ID: 3662706 • Letter: T

Question

The following formula can be used to determine the distance an object falls due to gravity in a specific time period:

d = 1/2 * g * t^2

Where d is the distance in meters, g is 9.8, and t is the time in seconds that the object has been falling.

Write a function named fall Distance that takes the falling time as an argument. The function should return the distance in meters that the object has fallen in that time. For example if the function is passed the value 3.0, then it should return the value 44.1.

Explanation / Answer

Here is the codes: import java.util.Scanner; public class Chapter5Question5 { public static void main (String [] args) { double fallingTime; Scanner keyboard=new Scanner(System.in); System.out.println("Ener the falling time (in seconds): "); fallingTime=keyboard.nextDouble(); for(int x=1;x
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote