![]() |
matlab求非线性方程
matlab求非线性方程y1和y2的交点,未知数是nx
n1=0.81; Pg=6.5; Qtg=260; Pz=10; Qtz=75; Pc=1.2; Qtc=110; neh=2000; Memax=400; ne=1600; D=0.29; Mg1=(10.^3)*0.5*Qtg/(2*pi*neh*n1); Mz1=(10.^3)*0.5*Qtz/(2*pi*neh*n1); Mg =(10.^3)*Pg*Qtg/(2*pi*neh*n1); Mz =(10.^3)*Pz*Qtz/(2*pi*neh*n1); Mc =(10.^3)*Pc*Qtc/(2*pi*neh*n1); Meh=(9550*7.35)/neh; YY=[31.6 32.3 33.4 35.1 36.2 37.2 37.5 39.0 39.4... 40.9 40.1 37.1 34.0 33.6 29.5 24.1 17.5 9.6 ]/1000; f=20; tt=0; for i=1:1:18; for nx=1000:1:neh; tt=max(tt)+nx/18; y11=Memax-((Memax-Meh)*((ne-nx).^2))/((neh-ne).^2)-Mg-Mz1-Mc; y22=YY(i)*(nx.^2)*(D.^5); x=1000:1:neh; a=find(abs(y11-y22)==min(abs(y11-y22))); y1=Memax-((Memax-Meh)*((ne-x).^2))/((neh-ne).^2)-Mg-Mz1-Mc; y2=YY(i)*(x.^2)*(D.^5); 我想得到y11等于y22时的nx的值,有什么办法吗 |
所有时间均为北京时间。现在的时间是 15:30。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.