Professional Documents
Culture Documents
Nonlinear
Nonlinear
clc
x0=input('column vector of first attempt');
k=0;
eps=1e-5;
norma=1;
N=1e+3;
x=x0;
J=jacobiana(x);
F=funzione(x);
while norma>eps
xn=x-J\F;
norma=norm(x-xn);
x=xn;
F=funzione(x);
J=jacobiana(x);
k=k+1;
end