matlab一个方程中有x,y两个未知数,如何求出x和y之间的关系,x=f(y) 200
如题,方程为0.833*(1.7578-x)/(1.7578+2*x)+(0.167-y)*(1-x)/(1+2*x)+y*(1.8605-x)/(1.8605+2*x)...
如题,方程为
0.833*(1.7578-x)/(1.7578+2*x)+(0.167-y)*(1-x)/(1+2*x)+y*(1.8605-x)/(1.8605+2*x)=0
求matlab代码 展开
0.833*(1.7578-x)/(1.7578+2*x)+(0.167-y)*(1-x)/(1+2*x)+y*(1.8605-x)/(1.8605+2*x)=0
求matlab代码 展开
展开全部
可这样:
syms x y
y=solve(0.833*(1.7578-x)/(1.7578+2*x)+(0.167-y)*(1-x)/(1+2*x)+y*(1.8605-x)/(1.8605+2*x)==0,y)
结果是:
y =
-(- 40000000000*x^3 + 5508844000*x^2 + 74895204631*x + 32703869000)/(51630000000*x^2 + 45377607000*x)
syms x y
y=solve(0.833*(1.7578-x)/(1.7578+2*x)+(0.167-y)*(1-x)/(1+2*x)+y*(1.8605-x)/(1.8605+2*x)==0,y)
结果是:
y =
-(- 40000000000*x^3 + 5508844000*x^2 + 74895204631*x + 32703869000)/(51630000000*x^2 + 45377607000*x)
追问
以y为自变量,x为因变量呢, 就是用y表示x,x=f(y)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询