function y=f(x) y=-log(1-x)-2*x endfunction function y=df(x) y=(1/(1-x))-2 endfunction [z,fz,niter]=fsolve_nr(0.65,f,df,Nmax=3)
Compartilhar