Effacer les filtres
Effacer les filtres

how to make for loop for newton method

2 vues (au cours des 30 derniers jours)
liyana nadirah
liyana nadirah le 10 Mar 2020
x1=1;
x2=1;
x3=1;
b=[(10*x1)-(2*(x2)^2)+(1*x2)-(2*x3)-5; (8*(x2)^2)+(4*(x3)^2)-9; (8*x2*x3)+4];
a=[10 -4*x(2)+1 -2; 0 16*x(2) 8*x(3);0 8*x(3) 8*x(2)];
inv(a)
c=-(inv(a))*b
xnew=[x1;x2;x3]+c
hai guys please help me. this is my coding for newton method to solve non linear system but i have to solve it until second iteration but i dont know how to do it. so please help me

Réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by