Some error being shown continuously

2 visualizzazioni (ultimi 30 giorni)
Kiran Radhakrishnan
Kiran Radhakrishnan il 20 Mag 2021

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)

Risposte (1)

Girijashankar Sahoo
Girijashankar Sahoo il 20 Mag 2021
%% 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