Given the coefficients a, b, c, and d of a cubic equation, a*x^3 + b*x^2 + c*x + d = 0, determine its roots.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers56
Suggested Problems
-
28306 Solvers
-
4199 Solvers
-
Sum all integers from 1 to 2^n
18103 Solvers
-
Back to basics 21 - Matrix replicating
1828 Solvers
-
Reverse the elements of an array
1146 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!
seriously?
>> assert(isequal(cubicRoots(x),y_correct))
cubicRoots(x)?
This problem has been corrected and is now solvable.