用matlab的简单计算clcclearsyms E sr2 ze1=0.7sr1=0.8Es=8e6J=0.02v=0.35a0=4.5e6a=1.5r0=1n=e1/(1+e1)z0=0.1z=10sr2=solve((1-2*v)*(1+v)*(2*a*a0*r0^2/z^3*[1+r0^2/z^2]^(-a-1)*z0)/n/(2*Es*(1+(e1*sr1/sr2))^2/(1+e1)/(2+(e1*sr1/sr2)+e1))/(1-v)/(1-sr1+sr1*
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/27 03:14:22
![用matlab的简单计算clcclearsyms E sr2 ze1=0.7sr1=0.8Es=8e6J=0.02v=0.35a0=4.5e6a=1.5r0=1n=e1/(1+e1)z0=0.1z=10sr2=solve((1-2*v)*(1+v)*(2*a*a0*r0^2/z^3*[1+r0^2/z^2]^(-a-1)*z0)/n/(2*Es*(1+(e1*sr1/sr2))^2/(1+e1)/(2+(e1*sr1/sr2)+e1))/(1-v)/(1-sr1+sr1*](/uploads/image/z/10343649-57-9.jpg?t=%E7%94%A8matlab%E7%9A%84%E7%AE%80%E5%8D%95%E8%AE%A1%E7%AE%97clcclearsyms+E+sr2+ze1%3D0.7sr1%3D0.8Es%3D8e6J%3D0.02v%3D0.35a0%3D4.5e6a%3D1.5r0%3D1n%3De1%2F%281%2Be1%29z0%3D0.1z%3D10sr2%3Dsolve%28%281-2%2Av%29%2A%281%2Bv%29%2A%282%2Aa%2Aa0%2Ar0%5E2%2Fz%5E3%2A%5B1%2Br0%5E2%2Fz%5E2%5D%5E%28-a-1%29%2Az0%29%2Fn%2F%282%2AEs%2A%281%2B%28e1%2Asr1%2Fsr2%29%29%5E2%2F%281%2Be1%29%2F%282%2B%28e1%2Asr1%2Fsr2%29%2Be1%29%29%2F%281-v%29%2F%281-sr1%2Bsr1%2A)
用matlab的简单计算clcclearsyms E sr2 ze1=0.7sr1=0.8Es=8e6J=0.02v=0.35a0=4.5e6a=1.5r0=1n=e1/(1+e1)z0=0.1z=10sr2=solve((1-2*v)*(1+v)*(2*a*a0*r0^2/z^3*[1+r0^2/z^2]^(-a-1)*z0)/n/(2*Es*(1+(e1*sr1/sr2))^2/(1+e1)/(2+(e1*sr1/sr2)+e1))/(1-v)/(1-sr1+sr1*
用matlab的简单计算
clc
clear
syms E sr2 z
e1=0.7
sr1=0.8
Es=8e6
J=0.02
v=0.35
a0=4.5e6
a=1.5
r0=1
n=e1/(1+e1)
z0=0.1
z=10
sr2=solve((1-2*v)*(1+v)*(2*a*a0*r0^2/z^3*[1+r0^2/z^2]^(-a-1)*z0)/n/(2*Es*(1+(e1*sr1/sr2))^2/(1+e1)/(2+(e1*sr1/sr2)+e1))/(1-v)/(1-sr1+sr1*J)-(sr2*(1-sr1+sr1*J)/sr1/(1-sr2+sr2*J)-1))
vpa(sr2,5)
我想使z=1:1:10
搞成一个循环,
用matlab的简单计算clcclearsyms E sr2 ze1=0.7sr1=0.8Es=8e6J=0.02v=0.35a0=4.5e6a=1.5r0=1n=e1/(1+e1)z0=0.1z=10sr2=solve((1-2*v)*(1+v)*(2*a*a0*r0^2/z^3*[1+r0^2/z^2]^(-a-1)*z0)/n/(2*Es*(1+(e1*sr1/sr2))^2/(1+e1)/(2+(e1*sr1/sr2)+e1))/(1-v)/(1-sr1+sr1*
clc
clear
syms E sr2 z
e1=0.7
sr1=0.8
Es=8e6
J=0.02
v=0.35
a0=4.5e6
a=1.5
r0=1
n=e1/(1+e1)
z0=0.1
for z=1:10
sr2=solve((1-2*v)*(1+v)*(2*a*a0*r0^2/z^3*[1+r0^2/z^2]^(-a-1)*z0)/n/(2*Es*(1+(e1*sr1/sr2))^2/(1+e1)/(2+(e1*sr1/sr2)+e1))/(1-v)/(1-sr1+sr1*J)-(sr2*(1-sr1+sr1*J)/sr1/(1-sr2+sr2*J)-1))
vpa(sr2,5)
end