A stone is dropped into a well. seconds later, a splash is heard. The acceleration due to gravity is metres per second per second, and the speed of sound is metres per second. Calculate the depth of the well and the downwards velocity with which the stone hits the water.
Input Specification
Line : The value of
Line : The value of
Line : The value of
Output Specification
Line : The depth of the well in metres.
Line : The speed of the stone as it hits the water, in metres per second.
Sample Input
9.80
334
3.41
Sample Output
51.90
31.90
Your answers must have a relative or absolute error of less than .
Notes
The following equations may be useful:
Here represent time, displacement, velocity, initial velocity, final velocity, and acceleration, respectively.
Comments