필터 지우기
필터 지우기

Solve a system of non linear equations with parameters

조회 수: 9 (최근 30일)
Rakesh Jain
Rakesh Jain 2017년 2월 27일
댓글: Red_Devil_Box 2020년 8월 31일
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?

채택된 답변

Walter Roberson
Walter Roberson 2017년 2월 27일
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
Rakesh Jain
Rakesh Jain 2017년 3월 1일
Thank you. Got it
Red_Devil_Box
Red_Devil_Box 2020년 8월 31일
sir can u help me??

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by