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 Solvers53
Suggested Problems
-
Project Euler: Problem 10, Sum of Primes
2091 Solvers
-
Basics: 'Find the eigenvalues of given matrix
438 Solvers
-
Create a two dimensional zero matrix
525 Solvers
-
Find out sum of all elements of given Matrix
534 Solvers
-
find the mean of all elements in a matrix
129 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.