matlab在给定区间解方程tcs1=313.467+26.504*sin(z*pi/3.7255235)+35.7012*cos(z*pi/3.7255235)tcs2=1.955192645*[1.07194127*cos(z*pi/3.7255235)]^0.25+346.34求tcs1=tcs2在-1.8
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/25 11:57:25
matlab在给定区间解方程tcs1=313.467+26.504*sin(z*pi/3.7255235)+35.7012*cos(z*pi/3.7255235)tcs2=1.955192645*[1.07194127*cos(z*pi/3.7255235)]^0.25+346.34求tcs1=tcs2在-1.8 matlab在给定区间解方程tcs1=313.467+26.504*sin(z*pi/3.7255235)+35.7012*cos(z*pi/3.7255235)tcs2=1.955192645*[1.07194127*cos(z*pi/3.7255235)]^0.25+346.34求tcs1=tcs2在-1.8
matlab在给定区间解方程
tcs1=313.467+26.504*sin(z*pi/3.7255235)+35.7012*cos(z*pi/3.7255235)
tcs2=1.955192645*[1.07194127*cos(z*pi/3.7255235)]^0.25+346.34
求tcs1=tcs2在-1.8
tcs1 = @(z) 313.467+26.504*sin(z*pi/3.7255235)+35.7012*cos(z*pi/3.7255235)
tcs2 = @(z) 1.955192645*[1.07194127*cos(z*pi/3.7255235)].^0.25+346.34
F = @(z) tcs1(z) - tcs2(z);
z0 = [0;1.5]; % Make a starting guess at the solution
options = optimset('Display','off'); % Turn off display
[z,Fval,exitflag] = fsolve(F,z0,options)