Dr. Jie Zou PHY 33201 Chapter 2 Solution of Nonlinear Equations: Lecture (II)

Slides:



Advertisements
Similar presentations
M. Dumbser 1 / 23 Analisi Numerica Università degli Studi di Trento Dipartimento dIngegneria Civile ed Ambientale Dr.-Ing. Michael Dumbser Lecture on Numerical.
Advertisements

Numerical Computation Lecture 4: Root Finding Methods - II United International College.
Lecture 5 Newton-Raphson Method
Numerical Solution of Nonlinear Equations
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
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.
Empirical Maximum Likelihood and Stochastic Process Lecture VIII.
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
Numerical Integration Lecture (II)1
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.
Curve Fitting and Interpolation: Lecture (IV)
Open Methods (Part 1) Fixed Point Iteration & Newton-Raphson Methods
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
APPLICATIONS OF DIFFERENTIATION Newton’s Method In this section, we will learn: How to solve high-degree equations using Newton’s method. APPLICATIONS.
Dr. Jie Zou PHY Chapter 3 Solution of Simultaneous Linear Algebraic Equations: Lecture (II) Note: Besides the main textbook, also see Ref: Applied.
Dr. Jie Zou PHY Chapter 9 Ordinary Differential Equations: Initial-Value Problems Lecture (II) 1 1 Besides the main textbook, also see Ref.: “Applied.
Solution of Nonlinear Equations: Lecture (I)
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Martin Mendez UASLP Chapter 61 Unit II.
Curve Fitting and Interpolation: Lecture (II)
Dr. Jie Zou PHY Chapter 3 Solution of Simultaneous Linear Algebraic Equations: Lecture (III) Note: Besides the main textbook, also see Ref: Applied.
Numerical Integration Lecture (I)1
Open Methods Chapter 6 The Islamic University of Gaza
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Newton's Method for Functions of Several Variables
Dr. Jie Zou PHY Chapter 7 Numerical Differentiation: 1 Lecture (I) 1 Ref: “Applied Numerical Methods with MATLAB for Engineers and Scientists”, Steven.
Numerical Differentiation:1* Lecture (II)
Roots of Equations Open Methods Second Term 05/06.
Roots of a Polynomial: Root of a polynomial is the value of the independent variable at which the polynomial intersects the horizontal axis (the function.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Solving Non-Linear Equations (Root Finding)
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 Roots of Equations Why? But.
Newton-Raphson Method
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Curve Fitting and Interpolation: Lecture (I)
Copyright © Cengage Learning. All rights reserved. 4 Applications of Differentiation.
Loop Application: Numerical Methods, Part 1 The power of Matlab Mathematics + Coding.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
NEWTON’S METHOD/ MATLAB GRAPHICAL USER INTERFACE Caitlyn Davis-McDaniel and Dr. Scott Sarra Department of Mathematics, Marshall University, Huntington,
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.
4.5: Linear Approximations, Differentials and Newton’s Method.
Numerical Methods for Engineering MECN 3500
Numerical Methods.
CHAPTER 3 NUMERICAL METHODS
MECN 3500 Inter - Bayamon Lecture 6 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Circuits Theory Examples Newton-Raphson Method. Formula for one-dimensional case: Series of successive solutions: If the iteration process is converged,
Newton-Raphson Method. Figure 1 Geometrical illustration of the Newton-Raphson method. 2.
LINEARIZATION AND NEWTON’S METHOD Section 4.5. Linearization Algebraically, the principle of local linearity means that the equation of the tangent.
Linearization and Newton’s Method. I. Linearization A.) Def. – If f is differentiable at x = a, then the approximating function is the LINEARIZATION of.
Lecture 5 - Single Variable Problems CVEN 302 June 12, 2002.
Solving Non-Linear Equations (Root Finding)
Iteration Methods “Mini-Lecture” on a method to solve problems by iteration Ch. 4: (Nonlinear Oscillations & Chaos). Some nonlinear problems are solved.
Linearization, Newton’s Method
Newton-Raphson Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul Transforming Numerical Methods Education.
The formulae for the roots of a 3rd degree polynomial are given below
Newton’s Method Problem: need to solve an equation of the form f(x)=0. Graphically, the solutions correspond to the points of intersection of the.
Project on Newton’s Iteration Method Presented by Dol Nath Khanal Project Advisor- Professor Dexuan Xie 05/11/2015.
4.5: Linear Approximations, Differentials and Newton’s Method Greg Kelly, Hanford High School, Richland, Washington.
Lecture 4 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Solution of Nonlinear Equations
Computers in Civil Engineering 53:081 Spring 2003
Further Sequences and Series
3.8 Newton’s Method How do you find a root of the following function without a graphing calculator? This is what Newton did.
MATH 1910 Chapter 3 Section 8 Newton’s Method.
1 Newton’s Method.
Presentation transcript:

Dr. Jie Zou PHY Chapter 2 Solution of Nonlinear Equations: Lecture (II)

Dr. Jie Zou PHY Outline Numerical methods (2) Newton-Raphson (or simply Newton’s) method

Dr. Jie Zou PHY Newton-Paphson method Newton’s method algorithm: x 1 : The initial guess for the root of f(x) = 0. x 2 : The next approximation to the root. The point of intersection of the tangent to the curve at x 1 with the x axis gives x 2. The iterative procedure stops when meeting a convergence criterion: |f(x i )|  , |x i –x i-1 |  , or |(x i -x i-1 )/x i |  .

Dr. Jie Zou PHY Derivation of the Newton’s method Taylor’s series expansion of the function f(x) about an arbitrary point x 1 : Considering only the first two terms in the expansion: f(x)  f(x 1 ) + (x – x 1 ) f ’ (x 1 ) Set f(x)  f(x 1 ) + (x – x 1 ) f ’ (x 1 ) = 0, and solve for the root: To further improve the root, replace x 2 with x 1 to obtain x 3, and so on.

Dr. Jie Zou PHY Notes on Newton’s method Newton’s method requires the derivative of the function, f’ = df/dx; some may be quite complicated. f(x) may not be available in explicit form, in which case numerical differentiation techniques are required. Newton’s method converges very fast in most cases. However, it may not converge (see examples on the left).

Dr. Jie Zou PHY Example: Newton’s method Example 2.8: Find the root of the equation using the Newton-Raphson method with starting point x 1 = 0.0, and the convergence criterion, |f(x i )|   with  = Note: The derivative of tan -1 (u) is given by

Dr. Jie Zou PHY Plot function f(x) Let’s first plot the function f(x) from x = 0 to 1 to gain some insight on the behavior of the function. Root

Dr. Jie Zou PHY Flowchart x 1 =0.0,  =10 -5, i=0 i=i+1 |f(x i )|   x_Root=x i end T F

Dr. Jie Zou PHY Implement Newton’s method: by hand ixixi f(x i ) Is |f(x i )|   ? f’(x i ) (answer if the previous column is No … Show work step by step. Also, summarize the results in the Table below.

Dr. Jie Zou PHY Implement Newton’s method: write an M-file For the Example given on slide #6, write an M-file to compute the root of the equation using Newton-Raphson method. Follow the flowchart provided previously. Save the M-file as myNewton- Raphson.m. A copy of the M-file will be handed out later.