有没有matlab?
所在版块:求学狮城 发贴时间:2003-04-09 13:31

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
两行就能把根解出来:

>> syms x y
>> solve('x^3+x-y')

ans =

[ 1/6*(108*y+12*(12+81*y^2)^(1/2))^(1/3)-2/(108*y+12*(12+81*y^2)^(1/2))^(1/3)]
[ -1/12*(108*y+12*(12+81*y^2)^(1/2))^(1/3)+1/(108*y+12*(12+81*y^2)^(1/2))^(1/3)+1/2*i*3^(1/2)*(1/6*(108*y+12*(12+81*y^2)^(1/2))^(1/3)+2/(108*y+12*(12+81*y^2)^(1/2))^(1/3))]
[ -1/12*(108*y+12*(12+81*y^2)^(1/2))^(1/3)+1/(108*y+12*(12+81*y^2)^(1/2))^(1/3)-1/2*i*3^(1/2)*(1/6*(108*y+12*(12+81*y^2)^(1/2))^(1/3)+2/(108*y+12*(12+81*y^2)^(1/2))^(1/3))]
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

 相关帖子 我要回复↙ ↗回到正文
大哥大姐们帮忙 Heslaw   (63 bytes , 719reads )
Try ... freeflying   (65 bytes , 254reads )
有没有matlab? 逃课专家   (581 bytes , 309reads )
PS. 当中第一个根就是你要的东东 逃课专家   (0 bytes , 236reads )
come in 我行故我   (468 bytes , 312reads )
try your question 杨明   (520 bytes , 298reads )
i see~~ thanx a lot ~~ Heslaw   (0 bytes , 271reads )
Is it becuase ... XiAoMo   (86 bytes , 210reads )
去google找三次方程的解法 杨明   (28 bytes , 260reads )