NEWTON’S METHOD/ MATLAB GRAPHICAL USER INTERFACE Caitlyn Davis-McDaniel and Dr. Scott Sarra Department of Mathematics, Marshall University, Huntington,

Slides:



Advertisements
Similar presentations
Part 2 Chapter 6 Roots: Open Methods
Advertisements

Lecture 5 Newton-Raphson Method
Part 2 Chapter 6 Roots: Open Methods
Numerical Solution of Nonlinear Equations
Roundoff and truncation errors
Equations of Tangent Lines
A brief history of Newton’s method CASA seminar 8 February 2006 Luiza Bondar.
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
PHYS2020 NUMERICAL ALGORITHM NOTES ROOTS OF EQUATIONS.
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
APPLICATIONS OF DIFFERENTIATION Newton’s Method In this section, we will learn: How to solve high-degree equations using Newton’s method. APPLICATIONS.
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.
Systems of Non-Linear Equations
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
Roots of Equations Open Methods Second Term 05/06.
FP1: Chapter 2 Numerical Solutions of Equations
Chapter 3 Root Finding.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Solving ODE.
8/30/ Secant Method Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
Solving Non-Linear Equations (Root Finding)
PGE 310: Formulation and Solution of Geosystems Engineering Problems Dr. Matthew T. Balhoff Spring 2011 Notes Adapted from: Chapra, S., Canale, R. “Numerical.
B.1.6 – DERIVATIVES OF EXPONENTIAL FUNCTIONS
Newton-Raphson Method
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
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:
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.
11/30/ Secant Method Industrial Engineering Majors Authors: Autar Kaw, Jai Paul
Dr. Jie Zou PHY Chapter 2 Solution of Nonlinear Equations: Lecture (II)
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
Newton-Raphson Method. Figure 1 Geometrical illustration of the Newton-Raphson method. 2.
Solving Non-Linear Equations (Root Finding)
4.8 Newton’s Method Mon Nov 9 Do Now Find the equation of a tangent line to f(x) = x^5 – x – 1 at x = 1.
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.
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.
P2 Chapter 8 CIE Centre A-level Pure Maths © Adam Gibson.
Newton-Raphson Method
4.5: Linear Approximations, Differentials and Newton’s Method
Secant Method.
PROGRAMME F11 DIFFERENTIATION.
Some problems for your consideration
Rafael Sabino COT 4210 October 5th, 2004
Secant Method – Derivation
Chapter 6.
Solution of Equations by Iteration
Computers in Civil Engineering 53:081 Spring 2003
F’ means derivative or in this case slope.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Section 4.8: Newton’s Method
3.8 Newton’s Method How do you find a root of the following function without a graphing calculator? This is what Newton did.
Copyright © Cengage Learning. All rights reserved.
Newton-Raphson Method
Chapter 6.
1 Newton’s Method.
Presentation transcript:

NEWTON’S METHOD/ MATLAB GRAPHICAL USER INTERFACE Caitlyn Davis-McDaniel and Dr. Scott Sarra Department of Mathematics, Marshall University, Huntington, WV Examples For f(x) = -x 4 + 3x 2 +2 convergence to the root is not always possible. When the initial guess is between x = -1 and x = 1, it will not converge to the root, because the tangent lines get trapped between x = -1 and x = 1 (fig. top left). When the initial guess is exactly 1 or -1, then the n th terms will alternate between exactly -1 and 1. An initial guess outside of those two points is guaranteed to converge (fig. top right). The function f(x) = x 2 – 4 is an good example of a function that does not run into any problems with convergence. It has quadratic convergence and approximately doubles at each iterations, which makes it have few iterations and fast convergence. The function f(x) = x 2 – 2x + 1 has rather slow convergence, because its an order of convergence is one and each iteration does not double. Order one convergence is due to the double root, which is a result of f’(x)=0. For f(x) = x + x 4/3 the order of convergence changes depending on the root being found. When the root at x = 0 is being found, the order of convergence is one because the second derivative of the function is undefined (fig. top left). When the root at x = -1 is being found, the order of convergence is two because the second derivative of the function exists (fig. top right). Conclusions Applications MATLAB Guide Graphical User Interface Guide is part of MATLAB that is used to develop graphical user interfaces. The purpose of the graphical user interface for this project was to illustrate Newton's Method theoretical properties and to visually explore its key features. MATLAB integrates algorithm development, data visualization, data analysis, and numeric computation in one environment. MATLAB is also known as The Language of Technical Computing. We have developed software that helps to better understand Newton’s Method and its properties. The software could be used to aid others in learning Newton’s Method. Newton’s Method is used in a large number of applications from the production of mathematical art to weather prediction. History In 1685, a root-finding algorithm called Newton's method (also known as Newton-Raphson Method) was first published as A Treatise of Algebra Both Historical and Practical, which was written by John Wallis, not Isaac Newton. Isaac Newton had described his method in 1669, but it was not published until 1711 as De analysi per aequations numero terminorum infinitas. In 1671, he also wrote De metodis fluxionum et serierum infinitarum, which was translated and published in 1736 as Method of Fluxions. In 1960, Joseph Raphson described the Newton-Raphson method, which avoided Newton's subsitutions, in Analysis aequationum universalis. It wasn't until 1740, that Thomas Simpson published the Newton-Raphson method in current day form, which uses the derivative in the formula. The derivative part of the formula was derived from the Taylor series. Starting with an initial point x 0 or (x 0,0), closer approximations to the root (r) of a function are found by finding (x 0,f(x 0 ))and using the tangent line to the function at that point. The idea of using the tangent line is that the line is a closer approximation to r of the curve. The equation for the tangent line is y 1 - y 0 = f’(x 0 ) (x 1 - x 0 ) or y 1 - f(x 0 ) = f’(x 0 ) (x 1 - x 0 ) Since the initial point x 0 is at 0 on the y-axis, you can rewrite the equation as 0 - f(x0) = f’(x 0 ) (x 1 - x 0 ). When that equation is solved for x 1 the result is x 1 = x 0 + -f(x 0 ) f’(x0) In terms of iteration number n the equation is written: x (n+1) = x n - f(x n ) ; n = 0, 1, 2,… f’(x n ) Derivation Convergence When a function geometrically converges with an order of two, it has quadratic convergence, which means the number of accurate digits roughly doubles for each iteration. Newton’s Method is capable of this type of convergence, which can be observed through a convergence plot. A convergence plot is a plot of the error from each iteration on a log-log graph. The order of convergence is the slope of the line in the convergence plot. To read the graph from the initial guess to the root, read the graph from the right to the left.