Problem 49077. Velocity Conversion
Solution Stats
Problem Comments
-
1 Comment
Constant 1.60934
Solution Comments
-
1 Comment
Why on this we have to round at the fourth decimal, but for the conversion, we have to keep even the fifth? This group of problem should have been someway useful to refresh units conversion, but I think that achieve just the objective to show how awful it is to keep using an imperial system of measurement
-
4 Comments
Use 1.60934 as conversion factor or else it will have issues
Dear creator,
I am writing this message because, for some reason, at the time I coded the correct solution, for some reason 1 of the tests fails every time, despite the solution is exactly the same.
If you need any proof, I can enclose a screenshot to prove it.
Many thanks for your time,
Yours sincerely,
R.G.
While it is helpful to provide a conversion factor, the solution here is to round the result to the fourth decimal place, since that is what is being checked. This is now stated in the problem description.
Thank you for providing the required precision of the solution. However, the precision of the conversion factor needs to be stated or else the exact value needs to be used for this conversion.
5280(miles to feet)*0.3048(feet to meters)/1000(meters to km) is exactly equal to 1.609344 not 1.60934
Problem Recent Solvers410
Suggested Problems
-
14816 Solvers
-
447 Solvers
-
Test Problem; Create a 5x5 array containing all ones
353 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
1299 Solvers
-
4647 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!