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
-
1194 Solvers
-
577 Solvers
-
Create an index-powered vector
964 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
405 Solvers
-
6610 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.