how to solve third degree polynomial?

조회 수: 27 (최근 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 CenterFile Exchange에서 Polynomials에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by