> 数学 >
matlab 解方程组
已知量 a1 a2 a3 a4 a5(已知的数字);求未知量 x y;
a1=a2*(1-x/y)^2+a3/y^2;
a4=y+(x-y)*y^2/((x-y)^2+a5)
人气:258 ℃ 时间:2020-06-14 16:43:15
解答
clear;clc
syms x y
a1=2;a2=7;a3=12;a4=3;a5=10; % 可更改
eq1=a2*(1-x/y)^2+a3/y^2-a1;
eq2=y+(x-y)*y^2/((x-y)^2+a5)-a4;
[x y]=solve(eq1,eq2,x,y)
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版