matlab求对数方程我写的代码和最终结果是这样的>> [x,y,t]=solve('log(x/0.03)=-60520/8.314*(1/t-1/400)','log(y/2.21)=2640/8.314*(1/t-1/400)','x/(y^2)+(3*x)/y=1') x = 476.31305790608770549170402557675 y = .5538238216470057372233016824
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/06 09:31:04
matlab求对数方程我写的代码和最终结果是这样的>> [x,y,t]=solve('log(x/0.03)=-60520/8.314*(1/t-1/400)','log(y/2.21)=2640/8.314*(1/t-1/400)','x/(y^2)+(3*x)/y=1') x = 476.31305790608770549170402557675 y = .5538238216470057372233016824
matlab求对数方程
我写的代码和最终结果是这样的
>> [x,y,t]=solve('log(x/0.03)=-60520/8.314*(1/t-1/400)','log(y/2.21)=2640/8.314*(1/t-1/400)','x/(y^2)+(3*x)/y=1')
x =
476.31305790608770549170402557675
y =
.55382382164700573722330168241279
t =
1.9460588600215865959456115448506
但是这个结果一看就有问题,有大神知道代码哪里出问题了么?
matlab求对数方程我写的代码和最终结果是这样的>> [x,y,t]=solve('log(x/0.03)=-60520/8.314*(1/t-1/400)','log(y/2.21)=2640/8.314*(1/t-1/400)','x/(y^2)+(3*x)/y=1') x = 476.31305790608770549170402557675 y = .5538238216470057372233016824
[t x y]=solve('log(x/0.03)+(60520/8.314)*(1/t-1/400)=0','log(y/2.21)=(2640/8.314)*(1/t-1/400)','x/(y^2)+(3*x)/y=1',x,y,t)
t x y 的顺序问题!
% 没有问题啊
> solve('20*log10(x)-20*log10(0.1)-20*log10(sqrt(1+(0.1/2)^2))-20*log10(sqrt(1+(0.1/20)^2))=60','x')
ans =
100.12617352620642318520852783732
希望能解决您的问题。