how to solve third degree polynomial?

22 visualizzazioni (ultimi 30 giorni)
Hamid
Hamid il 26 Nov 2013
Risposto: Ikraan mahamed il 12 Set 2020
Hi, I am graduate, student and want to solve the third order equation: please advise. x^3-0.731x^2-3.64x-125.92=0

Risposte (2)

Wayne King
Wayne King il 26 Nov 2013
Modificato: Wayne King il 26 Nov 2013
C = [1 -0.731 -3.64 -125.92];
roots(C)
  3 Commenti
Image Analyst
Image Analyst il 27 Nov 2013
Funny. When I do it, it says this:
ans =
5.5211 + 0.0000i
-2.3951 + 4.1317i
-2.3951 - 4.1317i
Hamid
Hamid il 27 Nov 2013
Thanks- Wayne, I got it.

Accedi per commentare.


Ikraan mahamed
Ikraan mahamed il 12 Set 2020
p = [-2.70889*10^-27 6.86613*10^-20 -1.88905*10^-13 1.96424*10^-6];
r = roots(p)

Categorie

Scopri di più su Polynomials in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by