Some error being shown continuously

조회 수: 1 (최근 30일)
Kiran Radhakrishnan
Kiran Radhakrishnan 2021년 5월 20일
답변: Girijashankar Sahoo 2021년 5월 20일

Can you solve both this equation using newton raphson method....please can u help finding the solution for this....

Eqn 1 = 16.19983968*(x^4)+(-12.83225571*(x^3))+(-3.36213765*(x^2))+3.88*log(1-x)-3.88*log(1-y)+(-8.300851844)

Eqn 2= 16.19983968*(x^4)+(-34.43204196*(x^3))+15.88624592*(x^2)+6.724275306*x+3.88*log(x)-3.88*log(y)+(-1.052415372)

답변 (1개)

Girijashankar Sahoo
Girijashankar Sahoo 2021년 5월 20일
%% fzero function might be helpful for solve in one line instruction
x0=0
x = fzero(@(x)16.19983968*(x^4)+(-12.83225571*(x^3))+(-3.36213765*(x^2))+3.88*log(1-x).....
+(-8.300851844),x0)
%% more to check help fzero

카테고리

Help CenterFile Exchange에서 Newton-Raphson Method에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by