Lecture 4
Lecture 4. Bisection method for root finding Binary search fzero. Drawbacks of Newton method. x=linspace(-5,5);plot(x,x.^2-2*x-2); hold on;plot(x,-3,'r'). Tangent line with zero slope. Perturb current guess if zero derivative is detected. Failure. f=inline('x.^3-2*x+2');
443 views • 25 slides