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 Solvers55
Suggested Problems
-
Back to basics 23 - Triangular matrix
1138 Solvers
-
715 Solvers
-
07 - Common functions and indexing 4
423 Solvers
-
Replace every 3rd element in a vector with 4
267 Solvers
-
Matrix of almost all zeros, except for main diagonal
191 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.