Problem 49067. Area Conversion 1
need to use 3.28089357 and then round 4...
round to 4 places
conv ratio is 10.76425 by revers result i has it.remember round to 4
This is an amazingly ill-specified problem. A foot is exactly 0.3048 meters by definition, and the test suite apparently uses a different value, in addition to requiring rounding to four decimal digits (which is neither necessary nor correct).
Never use equality tests with floats.
The problem is too badly formed and needs to be structured with the test suits or at least mention the conversion factor
1 ft is exactly equal to 0.3048 meters (1 in = 2.54 cm). The conversion factor for this problem needs to be updated to reflect this value else correctly solving for each solution set is more trial and error and less math.
Problem Recent Solvers398
Return the 3n+1 sequence for n
Cell Counting: How Many Draws?
More from this Author180
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!