Computers in Civil Engineering 53:081 Spring 2003

Slides:



Advertisements
Similar presentations
Chapter 6: Roots: Open Methods
Advertisements

Lecture 5 Newton-Raphson Method
Part 2 Chapter 6 Roots: Open Methods
Numerical Solution of Nonlinear Equations
Open Methods Chapter 6 The Islamic University of Gaza
ROOTS OF EQUATIONS Student Notes ENGR 351 Numerical Methods for Engineers Southern Illinois University Carbondale College of Engineering Dr. L.R. Chevalier.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 61.
Open Methods Chapter 6 The Islamic University of Gaza
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 51.
Roots of Equations Open Methods (Part 2).
Dr. Jie Zou PHY Chapter 2 Solution of Nonlinear Equations: Lecture (III)
A few words about convergence We have been looking at e a as our measure of convergence A more technical means of differentiating the speed of convergence.
Open Methods (Part 1) Fixed Point Iteration & Newton-Raphson Methods
Revision.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 9 Roots of Equations Open Methods.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Martin Mendez UASLP Chapter 61 Unit II.
Open Methods Chapter 6 The Islamic University of Gaza
Dr. Marco A. Arocha Aug,  “Roots” problems occur when some function f can be written in terms of one or more dependent variables x, where the.
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 8 Roots of Equations Open Methods.
Roots of Equations Open Methods Second Term 05/06.
Chapter 4 Roots of Polynomials.
8/30/ Secant Method Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 Roots of Equations Why? But.
9/20/ Secant Method Civil Engineering Majors Authors: Autar Kaw, Jai Paul
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
Lecture 6 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Chapter 3 Roots of Equations. Objectives Understanding what roots problems are and where they occur in engineering and science Knowing how to determine.
Numerical Methods for Engineering MECN 3500
11/30/ Secant Method Industrial Engineering Majors Authors: Autar Kaw, Jai Paul
Today’s class Roots of equation Finish up incremental search
MECN 3500 Inter - Bayamon Lecture 6 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
4 Numerical Methods Root Finding Secant Method Modified Secant
Lecture 5 - Single Variable Problems CVEN 302 June 12, 2002.
4 Numerical Methods Root Finding Secant Method Modified Secant
SOLVING NONLINEAR EQUATIONS. SECANT METHOD MATH-415 Numerical Analysis 1.
Newton-Raphson Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul Transforming Numerical Methods Education.
Computers in Civil Engineering 53:081 Spring 2003 Lecture #8 Roots of Equations: Systems of Equations.
6/13/ Secant Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul
Project on Newton’s Iteration Method Presented by Dol Nath Khanal Project Advisor- Professor Dexuan Xie 05/11/2015.
CSE 330: Numerical Methods. Introduction The bisection and false position method require bracketing of the root by two guesses Such methods are called.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 / Chapter 5.
Solution of Nonlinear Equations ( Root Finding Problems )
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Newton-Raphson Method
4 Numerical Methods Root Finding Secant Method Modified Secant
Newton-Raphson Method
Secant Method.
Newton’s Method for Systems of Non Linear Equations
LECTURE 3 OF SOLUTIONS OF NON -LINEAR EQUATIONS.
CS B553: Algorithms for Optimization and Learning
Read Chapters 5 and 6 of the textbook
Part 2 Chapter 6 Roots: Open Methods
Secant Method – Derivation
Chapter 6.
MATH 2140 Numerical Methods
Numerical Analysis Lecture 7.
Newton-Raphson Method
Newton-Raphson Method
Chemical Engineering Majors Authors: Autar Kaw, Jai Paul
Section 4.8: Newton’s Method
ROOTS OF EQUATIONS.
Newton’s Method and Its Extensions
Newton-Raphson Method
Chapter 6.
Part 2 Chapter 6 Roots: Open Methods
1 Newton’s Method.
Solutions for Nonlinear Equations
Presentation transcript:

Computers in Civil Engineering 53:081 Spring 2003 Lecture #7 Roots of Equations: Open Methods

Lecture Outline Open Methods The Newton-Raphson Algorithm The Secant Algorithm

Newton-Raphson Algorithm Graphical Derivation  xi+1 xi From figure: (Newton-Raphson Formula)

Derivation from Taylor Series Which can be rearranged as: (same result as geometrical one)

Newton-Raphson Algorithm Properties Quadratic convergence (Single Roots) Number of correct decimal places doubles with each iteration (single root) Linear convergence (Multiple Roots) Some problem cases exist Slow or no convergence Oscillation Both function and its derivative must be evaluated: Inconvenient May not be so easy

Example: f(x) = e-x-x f(x) x Stopping Criteria: 1.0 0.5 0.0 0.2 0.4 0.6 0.8 1.0 -0.5 -1.0 x Stopping Criteria:

Convergence Newton-Raphson Bisection Iteration xr |t|% |t|% 1 0.50000 11.8 11.8 2 0.56631 0.147 32.2 3 0.56714 0.00002 10.2 4 0.56714 < 10-8 0.819

Newton-Raphson Pitfalls f(x) x3 x1 x2 x f(x) x1 x3 x4 x2 x

Secant Algorithm Motivation: Inconvenient/difficult to evaluate f '(x) analytically in Newton-Raphson algorithm: Solution: Approximate f '(x) with a backward finite divided difference: Substituting in (1) yields the secant algorithm:

Secant Algorithm xi+1 xi-1 xi xi+1 xi  Secant Algorithm Use approximate f '(x) at xi Two initial estimates required xi+1 xi-1 xi Newton-Raphson Algorithm Use true f '(x) at xi  xi+1 xi

Multiple Roots Multiple roots occur where the function is tangent to the axis. In other words, where

Multiple Roots (continued) At even multiple roots: no sign change => can’t use bracketing methods. At multiple roots f(x) and f '(x) are zero. Newton-Raphson: Secant: Both formulas contain derivative (or its estimate) in denominator. This could result in division by zero as the solution converges very close to the root.

Next: Systems of Nonlinear Equations (Read the Textbook!)