Wednesday, May 31, 2017

Métodos numéricos: Funcion NR

function X=NR(h, dh, X0, N)
X=X0;
for k=1:N
    X=X-(dh(X))^(-1)*h(X);
end

No comments:

Post a Comment