eqauttons solveing non linear why i am geting this error

4 次查看(过去 30 天)
[x,y] = solve([x + y == 1000 (0.4818*10.^-7)*x.^4 - (0.9089*10.^-4)*x.^3 + (0.6842*10.^-1)*x.^2 - (0.2106*10.^2)*x +9860 == (0.9592*10.^-7)*y.^4 - (0.7811*10.^-4)*y.^3 + (0.2625*10.^-1)*y.^2 - (0.2189*10)*y +9003],[x,y])
Error using sym/solve>getEqns
Input argument contains an empty equation or variable.
Error in sym/solve (line 226)
[eqns,vars,options] = getEqns(varargin{:});
Related documentation

采纳的回答

Walter Roberson
Walter Roberson 2022-4-7
syms x y
eqn = [x + y == 1000,0.4818*10^-7*x^4 - 0.9089*10^-4 + 0.6842*10^-1*x^2 - 0.2106*10^2*x + 9860 == 0.9592*10^-7*y^4 - 0.7811*10^-4*y^3 + 0.2625*10^-1*y^2 - 0.2189*10*y + 9003]
eqn = 
sol = solve(eqn, [x y], 'MaxDegree', 4)
sol = struct with fields:
x: [4×1 sym] y: [4×1 sym]
sol.x
ans = 
sol.y
ans = 
vpa(sol.x)
ans = 
vpa(sol.y)
ans = 
  3 个评论
Bader Herzallah
Bader Herzallah 2022-4-7
this is the quation
first eqaution is lp+lq=1000
the sconde one is IRp=IRq
the answers should be
Lp=732.5
Lq=267.5
how i can get this answer in matlab

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by