Problem 42987. Roots of a quadratic equation.
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.
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.
Solution CommentsShow comments
Problem Recent Solvers56
How to find the position of an element in a vector without using the find function
convert matrix to single column
Append two matrix as shown below example
Sum of the Multiplication of Vectors
More from this Author8
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!