필터 지우기
필터 지우기

help me solve a problem please.

조회 수: 1 (최근 30일)
Akshayy Garg
Akshayy Garg 2011년 6월 30일
Hi I am new to matlab and need help in solving problem. Thre is a set of three non-linear equations and i used fsolve lsqnonlin but i am getting complex values. the solution should be real only.
A=9.276573254453513e+07
B=2.217725354910644e+09
C=9.438300268833828e+04
q=2.774309890414760e-05
A*x^1.75+B*x^2=C*(q-x)^1.75+A*y^1.75+B*y^2
A*y^1.75+B*y^2=C*(q-x-y)^1.75+A*z^1.75+B*z^2
x+y+z=q
initial guess- x=y=z=q/3
Please help. Solution is real only.

답변 (2개)

Walter Roberson
Walter Roberson 2011년 6월 30일
Because your ^1.75 is not an integer power, if one of the expressions being raised to that ^1.75 goes negative, the power will be evaluated using complex logs.
Sorry, I am out of time to follow this further.

Saravanan Mani
Saravanan Mani 2011년 6월 30일
This equation is correct. I attach the file your mail id see there. Let know if any concern
Thanks, Saravanan Mani

카테고리

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