240 likes | 430 Views
ECIV 301. Programming & Graphics Numerical Methods for Engineers Lecture 8 Roots of Equations Open Methods. c must satisfy. Last Time The Problem. Define Function. c is the ROOT of the equation. Bracketing. Open. Fixed Point Iteration Newton-Raphson Secand. Graphical
E N D
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 8 Roots of Equations Open Methods
c must satisfy Last Time The Problem Define Function c is the ROOT of the equation
Bracketing Open • Fixed Point Iteration • Newton-Raphson • Secand • Graphical • Bisection Method • False Position Last Time Classification Methods
xr=0.5(xl+xu) xl xu Last Time Bisection Method Repeat until convergence
f(xl) xr xu xl f(xu) Last TimeFalse Position Method
Root = Last Time Bisection Method Check Convergence If Error
Objectives • OPEN Methods • Fixed Point Iteration • Newton Raphson • Secant
Open Methods Bracketing Methods Two Initial Estimates Needed that bracket the root Always Converge Open Methods ONE Initial Estimate Needed Sometimes Diverge
root Fixed Point Iteration X x is a root if f(x) = 0
root f1(X) f2(X) f1(X) f2(X) X root Fixed Point Iteration X + x + x
f1(X) f2(X) f1(X) f2(X) X root Fixed Point Iteration x is a root if f1(x) = f2(x)
New Guess New Guess Initial Guess Fixed Point Iteration f1(X) f2(X) root X
New Guess New Guess Initial Guess Fixed Point Iteration f2(X) f1(X) Method Diverges root X
New Guess Condition for Convergence f1(X) f2(X) X
g’(xi) g’(xi) New Guess New Guess Initial Guess Newton Raphson g(x) X
Newton Raphson Inflection Point in Vicinity of Root
Newton Raphson Persistent Oscillations near local max or min
Newton Raphson Initial guess close to root jumps several roots away
Newton Raphson Zero Derivative
Newton Raphson It converges very fast!! (when it does) • No Convergence Criteria • Depends on Nature of Function • Depends on Initial Guess • Use Initial Guess Sufficiently Close to Root
Homework • 5.7 • 5.19 • 6.4 • 6.8 (a),(b),(c) Due Date: September 22