Borrar filtros
Borrar filtros

Solve a system of non linear equations with parameters

9 visualizaciones (últimos 30 días)
I have to find p11 p12 p22 in the following equations where q r b c are constants
p12^2/r + 2*c*p12 - 2*q = 0
p11 - b*p12 - c*p22 + (p12*p22)/r = 0
p22^2/r - 2*b*p22 + 2*p12 = 0
I specifically want to find p11 p12 and p22.
What should I do?

Respuesta aceptada

Walter Roberson
Walter Roberson el 27 de Feb. de 2017
syms p12 r c q p11 b p22
eqns = [p12^2/r + 2*c*p12 - 2*q ==0, p11 - b*p12 - c*p22 + (p12*p22)/r == 0, p22^2/r - 2*b*p22 + 2*p12 == 0]
sol = solve(eqns, [p11 p12 p22])
P11 = simplify(sol.p11,'steps',20);
P12 = simplify(sol.p12,'steps',20);
P22 = simplify(sol.p12,'steps',20);
Note: there are 4 solutions for each variable.
  4 comentarios
Rakesh Jain
Rakesh Jain el 1 de Mzo. de 2017
Thank you. Got it
Red_Devil_Box
Red_Devil_Box el 31 de Ag. de 2020
sir can u help me??

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by