Problem 42987. Roots of a quadratic equation.
Solution Stats
Problem Comments
-
6 Comments
Please supply more than one test case and check each and every problem before posting. The current test suite has the wrong answer for the only case and can, therefore, not be properly solved.
awful task!
Test case 4 answer is wrong
Please modify the test case 4. It is wrong.
This problem has been fixed and is now solvable.
Applied a tolerance, which is crucial, since tiny variations in the least significant bits due to floating point arithmetic can cause a valid solution to fail.
Problem Recent Solvers56
Suggested Problems
-
917 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
2509 Solvers
-
Who knows the last digit of pi?
623 Solvers
-
07 - Common functions and indexing 6
418 Solvers
-
Cumulative product of a vector
259 Solvers
More from this Author8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!