Given a quadratic equation ax^2 + bx + c = 0, write a function to return its roots.
Second test case is faulty
This problem has been edited and is now solvable.
Perhaps the name of the function needs to be changed?
Agreed. The Test Suite is failing because it is (now) calling the built-in MATLAB function roots(p). https://mathworks.com/help/matlab/ref/roots.html
I don't think this problem will pass anytime as the test suite is faulty. In assertion your_function(x) is used and when i test my code Undefined function or variable 'x' occurs.
I agree
Determine if input is a perfect number
113 Solvers
Accessing elements on the diagonal
68 Solvers
Generate a random matrix A of (1,-1)
162 Solvers
214 Solvers
Create an n-by-n null matrix and fill with ones certain positions
140 Solvers