f(x)=x^3-2 xi=big"2"^(big"1"/big"3") x0=big"1" x1=big"1.5" g(xn,xnm1)=xn-f(xn)*(xn-xnm1)/(f(xn)-f(xnm1)) xnm1=x0 xn=x1 for n=2:10 global xn,xnm1 xn,xnm1=g(xn,xnm1),xn println("n=$n xn=$xn en=$(xn-xi)") end