Problem 1116. Calculate the height of an object dropped from the sky
Assume that an object is dropped from 1000 meters above the surface of the earth at time t=0. The object is dropped such that the initial velocity and acceleration are both zero.
Write a function to determine the height, h, of the object at any time, t, where h=0 is the surface of the earth. Assume the acceleration due to gravity is constant 9.8 m/s^2. Also, assume that before the object is dropped (negative t) it is being held at a constant height of 1000 meters. Finally, assume that after the object hits the ground it remains at h=0.
Solution Stats
Problem Comments
-
2 Comments
I think the explanation or the problem is too complicated
Very nice and well-thought-out problem with lots of test cases with good coverage.
Solution Comments
Show commentsProblem Recent Solvers248
Suggested Problems
-
Determine if a Given Number is a Triangle Number
377 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
540 Solvers
-
9735 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
549 Solvers
-
342 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!