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?
Solution is correct only if s is a multiplum of 0.1. Example: s=2.05,v=20 gives d=19.05. Correct value is 20.0125
Replace NaNs with the number that appears to its left in the row.
Number of 1s in a binary string
Doubling elements in a vector
06 - Matrix Equations 2
Area of an equilateral triangle
Find and replace the zero array in a matrix
Convert Fahrenheit to Celsius
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office