求matlab语句解方程
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励20(财富值+成长值)
展开全部
可这样:
>> syms x
x=solve(x^3-3*x^2-3*x+11==0)
x =
1 - 2^(2/3) - 2^(1/3)
(3^(1/2)*(2^(1/3) - 2^(2/3))*i)/2 + 2^(1/3)/2 + 2^(2/3)/2 + 1
2^(1/3)/2 - (3^(1/2)*(2^(1/3) - 2^(2/3))*i)/2 + 2^(2/3)/2 + 1
>> x=vpa(x,6)
x =
-1.84732
2.42366 - 0.283606*i
2.42366 + 0.283606*i
>> syms x
x=solve(x^3-3*x^2-3*x+11==0)
x =
1 - 2^(2/3) - 2^(1/3)
(3^(1/2)*(2^(1/3) - 2^(2/3))*i)/2 + 2^(1/3)/2 + 2^(2/3)/2 + 1
2^(1/3)/2 - (3^(1/2)*(2^(1/3) - 2^(2/3))*i)/2 + 2^(2/3)/2 + 1
>> x=vpa(x,6)
x =
-1.84732
2.42366 - 0.283606*i
2.42366 + 0.283606*i
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询