Borrar filtros
Borrar filtros

eqauttons solveing non linear why i am geting this error

4 visualizaciones (últimos 30 días)
[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

Respuesta aceptada

Walter Roberson
Walter Roberson el 7 de Abr. de 2022
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 comentarios
Bader Herzallah
Bader Herzallah el 7 de Abr. de 2022
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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by