用matlab求解非线性方程组,x(1)-[7+x(2)^2+4*x(3)]/12=0;x(2)-[11-x(1)^2+x(3)]/10=0;x(3)-[8-x(2)^3]/10=0'
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 15:36:44
用matlab求解非线性方程组,x(1)-[7+x(2)^2+4*x(3)]/12=0;x(2)-[11-x(1)^2+x(3)]/10=0;x(3)-[8-x(2)^3]/10=0'
用matlab求解非线性方程组,
x(1)-[7+x(2)^2+4*x(3)]/12=0;
x(2)-[11-x(1)^2+x(3)]/10=0;
x(3)-[8-x(2)^3]/10=0'
用matlab求解非线性方程组,x(1)-[7+x(2)^2+4*x(3)]/12=0;x(2)-[11-x(1)^2+x(3)]/10=0;x(3)-[8-x(2)^3]/10=0'
matlab源程序为:
S=solve('x1-(7+x2^2+4*x3)/12=0','x2-(11-x1^2+x3)/10=0','x3-(8-x2^3)/10=0')
disp(S.x1)
disp(S.x2)
disp(S.x3)
S =
x1:[6x1 sym]
x2:[6x1 sym]
x3:[6x1 sym]
.90553960985591352219643092016224
4.7108198630581133928941167091861-7.9450374515536219172121852424559*i
-5.2695158922292528617657194964984+3.8713841417380648226893682867298*i
9.2118524484863654155467746544621
-5.2695158922292528617657194964984-3.8713841417380648226893682867298*i
4.7108198630581133928941167091861+7.9450374515536219172121852424559*i
1.0852191683700305323160050352309
5.9371258424045108656830408249121+3.9341420043515601411303925003274*i
-1.1927328487972209635047755512223+5.5738872132188748196832209089117*i
-5.5740051555846103366725355826107
-1.1927328487972209635047755512223-5.5738872132188748196832209089117*i
5.9371258424045108656830408249121-3.9341420043515601411303925003274*i
.67219366871830539734777606306666
7.4394620996382997437406777575615-35.513860435523229429047897408397*i
-10.147145922416523554997256893972+14.938231612562670240880881978453*i
18.118173976838142225165382209754
-10.147145922416523554997256893972-14.938231612562670240880881978453*i
7.4394620996382997437406777575615+35.513860435523229429047897408397*i
http://blog.csdn.net/aris_zzy/archive/2008/03/19/2196865.aspx
看看这个吧
其实应该一个命令就求出来了。