g = inline('9*y^2-24*y+13');gy = inline('18*y-24 ');a = 2; e1=0.0001;n=1;y = a-(g(a)/gy(a));z = abs(y-a);while z>e1 y = a-(g(a)/gy(a)); z = abs(y-a); a = y;n=n+1;enda,n