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 Solvers403
Find nearest prime number less than input number
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
Matlab Basics - Convert a row vector to a column vector
More from this Author180
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!