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
-
500 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2573 Solvers
-
Similar Triangles - find the height of the tree
477 Solvers
-
1850 Solvers
-
multiply an array by its position number
113 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.