cubic equation solution simple and fast way?

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.

 Réponse acceptée

Walter Roberson
Walter Roberson le 24 Jan 2020

0 votes

If you have numeric coefficients, use roots()

Plus de réponses (0)

Catégories

En savoir plus sur Numerical Integration and Differential Equations dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by