cubic equation solution simple and fast way?

1 view (last 30 days)
Hi,
I try to solve a cubic equation. I checked and it seems people are using bisection method to find the solution for a cubic equation?. is there any other easy and simplest way?. or i have to write long code?.
Thanks.

Accepted Answer

Walter Roberson
Walter Roberson on 24 Jan 2020
If you have numeric coefficients, use roots()

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!