MATLAB Answers

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

Community Treasure Hunt

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

Start Hunting!

Translated by