how to solve third degree polynomial?

28 ビュー (過去 30 日間)
Hamid
Hamid 2013 年 11 月 26 日
回答済み: Ikraan mahamed 2020 年 9 月 12 日
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

回答 (2 件)

Wayne King
Wayne King 2013 年 11 月 26 日
編集済み: Wayne King 2013 年 11 月 26 日
C = [1 -0.731 -3.64 -125.92];
roots(C)
  3 件のコメント
Image Analyst
Image Analyst 2013 年 11 月 27 日
Funny. When I do it, it says this:
ans =
5.5211 + 0.0000i
-2.3951 + 4.1317i
-2.3951 - 4.1317i
Hamid
Hamid 2013 年 11 月 27 日
Thanks- Wayne, I got it.

サインインしてコメントする。


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

カテゴリ

Help Center および File ExchangePolynomials についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by