Problem 46963. Roots, Bloody Roots: part 2/2
Solution Stats
Problem Comments
-
3 Comments
My solution passes first and last tests, but fails others, could you take a look, please?
No problem, Svyatoslav, I will take a look tomorrow.
Hi, Svyatoslav, I've figured out what the problem was. It appears there is a small error < 1e-10 between our interpolation methods. This error wouldn't matter regularly, but since we are doing gamma correction, that error gets magnified. To fix this, I've changed the problem description to request that all interpolations be rounded to 4 decimal places. This seems to resolve the issue (since there will be no error to be magnified by the gamma correction).
Solution Comments
Show commentsProblem Recent Solvers1
Suggested Problems
-
Read a column of numbers and interpolate missing data
2179 Solvers
-
Basic electricity in a dry situation
548 Solvers
-
How long is the longest prime diagonal?
391 Solvers
-
348 Solvers
-
Find the Oldest Person in a Room
15751 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!