Problem 42987. Roots of a quadratic equation.
Solution Stats
Problem Comments
-
6 Comments
Show
3 older comments
goc3
on 16 Sep 2016
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.
Ivan
on 16 Sep 2016
awful task!
Peng Liu
on 19 Sep 2016
Test case 4 answer is wrong
Neha Singh
on 20 Sep 2016
Please modify the test case 4. It is wrong.
goc3
on 30 Sep 2016
This problem has been fixed and is now solvable.
John D'Errico
on 2 Oct 2016
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 Solvers48
Suggested Problems
-
2894 Solvers
-
3828 Solvers
-
Number of 1s in a binary string
5328 Solvers
-
4637 Solvers
-
Sum of odd numbers in a matrix
403 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!