Project on Newton’s Iteration Method Presented by Dol Nath Khanal Project Advisor- Professor Dexuan Xie 05/11/2015.

Slides:



Advertisements
Similar presentations
Kim Day Jessie Twigger Christian Zelenka. How is this technique conducted.
Advertisements

Part 2 Chapter 6 Roots: Open Methods
Lecture 5 Newton-Raphson Method
Numerical Solution of Nonlinear Equations
CSE 330: Numerical Methods
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.
Open Methods Chapter 6 The Islamic University of Gaza
Chapter 4 Roots of Equations
Roots of Equations Open Methods (Part 2).
Chapter 6 Open Methods.
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
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.
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.
4.5: Linear Approximations, Differentials and Newton’s Method Greg Kelly, Hanford High School, Richland, Washington.
Newton-Raphson Method Electrical Engineering Majors Authors: Autar Kaw, Jai Paul Transforming Numerical Methods Education.
Newton-Raphson Method
9/20/ Secant Method Civil Engineering Majors Authors: Autar Kaw, Jai Paul
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Numerical Methods Applications of Loops: The power of MATLAB Mathematics + Coding 1.
10/21/ Bisection Method Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
Newton-Raphson Method Chemical Engineering Majors Authors: Autar Kaw, Jai Paul Transforming Numerical Methods Education.
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.
4.5: Linear Approximations, Differentials and Newton’s Method Greg Kelly, Hanford High School, Richland, Washington.
Numerical Methods.
11/30/ Secant Method Industrial Engineering Majors Authors: Autar Kaw, Jai Paul
Greg Kelly, Hanford High School, Richland, Washington.
Newton’s Method, Root Finding with MATLAB and Excel
Dr. Jie Zou PHY Chapter 2 Solution of Nonlinear Equations: Lecture (II)
Case Study #1 Finding Roots of Equations ~ CE402 Numerical Methods for Engineers Dr. Fritz Fiedler ~ Andy Abrams David Crosby Zack Munstermann.
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.
1/29/ Bisection Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul
2/2/ Secant Method Electrical Engineering Majors Authors: Autar Kaw, Jai Paul
Newton-Raphson Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul Transforming Numerical Methods Education.
Yasser F. O. Mohammad Assiut University Egypt. Previously in NM Bracketing Methods Bisection False Position Fixed Point Iteration Local Convergence Methods.
3/7/ Bisection Method Electrical Engineering Majors Authors: Autar Kaw, Jai Paul
6/13/ Secant Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul
4.5: Linear Approximations, Differentials and Newton’s Method Greg Kelly, Hanford High School, Richland, Washington.
CSE 330: Numerical Methods. What is true error? True error is the difference between the true value (also called the exact value) and the approximate.
CSE 330: Numerical Methods. Introduction The bisection and false position method require bracketing of the root by two guesses Such methods are called.
Newton-Raphson Method
Newton-Raphson Method
Secant Method.
4.5: Linear Approximations, Differentials and Newton’s Method
Secant Method – Derivation
Chapter 6.
Newton-Raphson Method
Computers in Civil Engineering 53:081 Spring 2003
Newton-Raphson Method
SOLUTION OF NONLINEAR EQUATIONS
Chemical Engineering Majors Authors: Autar Kaw, Jai Paul
3.8 Newton’s Method How do you find a root of the following function without a graphing calculator? This is what Newton did.
4.8: Linear Approximations, Differentials and Newton’s Method
4.5: Linear Approximations, Differentials and Newton’s Method
4.5: Linear Approximations, Differentials and Newton’s Method
Newton-Raphson Method
Chapter 6.
MATH 1910 Chapter 3 Section 8 Newton’s Method.
Industrial Engineering Majors Authors: Autar Kaw, Jai Paul
1 Newton’s Method.
Presentation transcript:

Project on Newton’s Iteration Method Presented by Dol Nath Khanal Project Advisor- Professor Dexuan Xie 05/11/2015

Introduction This Project shows for solving an equation by using Newton’s Iteration Method. We have analyzed standard iteration technique(Newton-Raphson Method) which has implemented by using MATLAB computation. We use MATLAB to learn: 1. How to write function in MATLAB 2. How to make loop 3. How to use algorithm 4. How to setup code with graphic 5. How to understand the results The followings are some preliminaries which are analyzed to perform the main work.

Finding root of a function by Newton-Raphson method

Newton-Raphson Method Most widely used formula for locating roots. Can be derived using Taylor series or the geometric interpretation of the slope in the figure

Newton’s Method Finding a root for: We will use Newton’s Method to find the root between 2 and 3.

Guess: (not drawn to scale) (new guess)

Guess: (new guess)

Guess: (new guess)

Guess: Amazingly close to zero! This is Newton’s Method of finding roots. It is an example of an algorithm (a specific set of computational steps.) It is also called the Newton-Raphson method This is a recursive algorithm because a set of steps are repeated with the previous answer put in the next repetition. Each repetition is called is called an iteration.

Algorithm used for Newton- Raphson Method

Step 1 Evaluate symbolically.

Step 2 Use an initial guess of the root,, to estimate the new value of the root,, as

Step 3 Find the absolute relative approximate error as

Step 4 Compare the absolute relative approximate error with the pre-specified relative error tolerance. Also, check if the number of iterations has exceeded the maximum number of iterations allowed. If so, one needs to terminate the algorithm and notify the user. Is ? Yes No Go to Step 2 using new estimate of the root. Stop the algorithm

Advantages and Drawbacks of Newton Raphson Method

Advantages Converges fast (quadratic convergence), if it converges. Requires only one guess

Drawbacks 1.Divergence at inflection points Selection of the initial guess or an iteration value of the root that is close to the inflection point of the function may start diverging away from the root in the Newton-Raphson method. For example, to find the root of the equation. The Newton-Raphson method reduces to. Table 1 shows the iterated values of the root of the equation. The root starts to diverge at Iteration 6 because the previous estimate of is close to the inflection point of. Eventually after 12 more iterations the root converges to the exact value of

Drawbacks – Inflection Points Iteration Number xixi − − Divergence at inflection point for Table 1: Divergence near inflection point.

2.Division by zero For the equation the Newton-Raphson method reduces to For, the denominator will equal zero. Drawbacks – Division by Zero Pitfall of division by zero or near a zero number

Results obtained from the Newton-Raphson method may oscillate about the local maximum or minimum without converging on a root but converging on the local maximum or minimum. Eventually, it may lead to division by a number close to zero and may diverge. For example for the equation has no real roots. Drawbacks – Oscillations near local maximum and minimum 3. Oscillations near local maximum and minimum

Drawbacks – Oscillations near local maximum and minimum Oscillations around local minima for. Iteration Number – –1.75 – – Table 2: Oscillations near local maxima and mimima in Newton-Raphson method.

4. Root Jumping In some cases where the function is oscillating and has a number of roots, one may choose an initial guess close to a root. However, the guesses may jump and converge to some other root. For example Choose It will converge to instead of Drawbacks – Root Jumping Root jumping from intended location of root for.

Numerical Results from MATLAB & MATLAB codes are added in separate files.

References Matlab demos A Very Elementary MATLAB Tutorial from the MathWorks web site. A Very Elementary MATLAB Tutorial Hypertext reference from Portland State University (55 pages) Hypertext reference from Portland State University 3-day MATLAB Tutorial from MIT (25 pages) 3-day MATLAB Tutorial from MIT Class notes Wikipedia

Thank You