MATLAB复杂隐函数求解!求大神指导!syms D1 D2 G1 G2 al E1 E2 Km w6G1=10^(-5);G2=10^(-5); E1=2*(10^11);E2=2*(10^11);Km=1.2;w6=2*(10^9);for D1=1.3:0.1:1.8;for D2=1.3:0.1:1.8;ac1=(G1^2)/((Km*0.01/2)^(2/(D1-1)));ac2=(G2^2)/((Km*0.01/2)^(2/(D2-1)
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 17:08:14
MATLAB复杂隐函数求解!求大神指导!syms D1 D2 G1 G2 al E1 E2 Km w6G1=10^(-5);G2=10^(-5); E1=2*(10^11);E2=2*(10^11);Km=1.2;w6=2*(10^9);for D1=1.3:0.1:1.8;for D2=1.3:0.1:1.8;ac1=(G1^2)/((Km*0.01/2)^(2/(D1-1)));ac2=(G2^2)/((Km*0.01/2)^(2/(D2-1)
MATLAB复杂隐函数求解!求大神指导!
syms D1 D2 G1 G2 al E1 E2 Km w6
G1=10^(-5);G2=10^(-5); E1=2*(10^11);E2=2*(10^11);Km=1.2;w6=2*(10^9);for D1=1.3:0.1:1.8;
for D2=1.3:0.1:1.8;
ac1=(G1^2)/((Km*0.01/2)^(2/(D1-1)));
ac2=(G2^2)/((Km*0.01/2)^(2/(D2-1)));
w=2*(pi^(1/2))*E1*(G1^(D1-1))*D1*(al^(D1/2))/3;
r=(2/(3-2D1))*(al^((3-2D1)/2)-ac1^((3-2D1)/2))-((al^((2-D2)/2))*2/(5-2D1-D2)*(al^((5-2D1-D2)/2)-ac1^((5-2D1-D2)/2)));
t=Km*w6*D1*(al^(D1/2))/2;
u=(2/(2-D1)*(ac1^((2-D1)/2))-((al^((2-D2)/2)))*2/(4-D2-D1)*(ac1^((4-D2-D1)/2)));
P2=w*r+t*u;
w1=2*(pi^(1/2))*E2*(G2^(D2-1))*D1*(al^((D1+D2-2)/2))/3;
r1=2/(5-2D1-D2)*(al^((5-2D1-D2)/2)-ac2^((5-2D1-D2)/2));
t1=Km*w6*D1*(al^((D1+D2-2)/2))/2;
u1=2/(4-D2-D1)*(ac2^((4-D2-D1)/2));
P1=w1*r1+t1*u1;
P=P1+P2;P=3*10^4;
%想在已知P和D1,D2的情况下求解al,D1和D2是一组数据,最后画出三维图
MATLAB复杂隐函数求解!求大神指导!syms D1 D2 G1 G2 al E1 E2 Km w6G1=10^(-5);G2=10^(-5); E1=2*(10^11);E2=2*(10^11);Km=1.2;w6=2*(10^9);for D1=1.3:0.1:1.8;for D2=1.3:0.1:1.8;ac1=(G1^2)/((Km*0.01/2)^(2/(D1-1)));ac2=(G2^2)/((Km*0.01/2)^(2/(D2-1)
题目写的比较乱.
明确几点:
1、是不是说对于D1=1.3:0.1:1.8,D2=1.3:0.1:1.8的每一种组合,按照P=P1+P2=3*10^4来求解a1?
2、对于这样的复杂方程,求解析解是不太现实的,应该求数值解.
3、方程可能存在多个解,怎么处理?例如,取D1=D2=1.5,画出P-3E4的曲线如下:
显然,在0-30范围内有两个解.