how to solve third degree polynomial?

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 个评论

Hi Wayne, Thanks for help, but it is given empty matrix 0 by 1, can you help please. Thanks.
Funny. When I do it, it says this:
ans =
5.5211 + 0.0000i
-2.3951 + 4.1317i
-2.3951 - 4.1317i
Thanks- Wayne, I got it.

请先登录,再进行评论。

p = [-2.70889*10^-27 6.86613*10^-20 -1.88905*10^-13 1.96424*10^-6];
r = roots(p)

类别

在 帮助中心 和 File Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息

提问:

2013-11-26

Community Treasure Hunt

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

Start Hunting!

Translated by