Calculate the total distance 'd' (in meters) a ball would travel after 's' seconds and starting velocity of 'v' (in m/s). "Please note that its not relative distance but total distance travelled"
gravity=10 m/s^2
Example: initial speed = +20, how long does the ball travel after 2.5 sec d=21.25
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers57
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6691 Solvers
-
1352 Solvers
-
Convert a vector into a number
615 Solvers
-
MATCH THE STRINGS (2 CHAR) very easy
301 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
160 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
A test case for s < v/10 is missing.
I think test cases 3 and 4 are wrong.
Case 3 (v=20, s=12.5) should have d=571.25
Case 4 (v=5, s=5) should have d=102.5
Specify the direction of initial velocity, is it vertical, or horizontal?