x3-6x2+5x+10=0

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/23 05:26:53
x3-6x2+5x+10=0x3-6x2+5x+10=0x3-6x2+5x+10=0>>x=solve(''x^3-6*x^2+5*x+10=0'')x=7/(3*(-2+(27^(1/2)*235^(1

x3-6x2+5x+10=0
x3-6x2+5x+10=0

x3-6x2+5x+10=0
>> x=solve('x^3-6*x^2+5*x+10=0')
x =
7/(3*(- 2 + (27^(1/2)*235^(1/2)*i)/27)^(1/3)) + (- 2 + (27^(1/2)*235^(1/2)*i)/27)^(1/3) + 2
2 - (- 2 + (27^(1/2)*235^(1/2)*i)/27)^(1/3)/2 - 7/(6*(- 2 + (27^(1/2)*235^(1/2)*i)/27)^(1/3)) - (3^(1/2)*(7/(3*(- 2 + (27^(1/2)*235^(1/2)*i)/27)^(1/3)) - ((27^(1/2)*235^(1/2)*i)/27 - 2)^(1/3))*i)/2
2 - (- 2 + (27^(1/2)*235^(1/2)*i)/27)^(1/3)/2 - 7/(6*(- 2 + (27^(1/2)*235^(1/2)*i)/27)^(1/3)) + (3^(1/2)*(7/(3*(- 2 + (27^(1/2)*235^(1/2)*i)/27)^(1/3)) - ((27^(1/2)*235^(1/2)*i)/27 - 2)^(1/3))*i)/2
>> eval(x)
ans =
4.2924 + 0.0000i
-0.8951 + 0.0000i
2.6027 - 0.0000i

一楼是正解