Problem 49077. Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.
Solution Stats
Problem Comments
-
3 Comments
Rafael S.T. Vieira
on 29 Oct 2022
Constant 1.60934
Cinzia
on 7 Sep 2023
With problems from this user, you have to first reverse engineer the conversion constant, because it has more digits than the one google proposes.
Camden
on 21 Nov 2023
The test cases for this problem are stupid. Even when using the real conversion factors and rounding to 4 decimal places, the test cases are still off by 0.001 and 0.002. Realistically there should a be a buffer of at least 0.01.
Solution Comments
Show commentsProblem Recent Solvers839
Suggested Problems
-
596 Solvers
-
7866 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10205 Solvers
-
454 Solvers
-
338 Solvers
More from this Author180
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!