Numerical Analysis - Advanced Topics in Root Finding - Hanyang University Jong-Il Park.

Slides:



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

Lecture 5 Newton-Raphson Method
Polynomial Approximation PSCI 702 October 05, 2005.
CSE 330: Numerical Methods
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.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 6 Roots of Equations Bracketing Methods.
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.
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
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.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 10 Roots of Polynomials.
Fin500J: Mathematical Foundations in Finance Topic 3: Numerical Methods for Solving Non-linear Equations Philip H. Dybvig Reference: Numerical Methods.
Secant Method Another Recursive Method. Secant Method The secant method is a recursive method used to find the solution to an equation like Newton’s Method.
Chapter 4 Roots of Polynomials.
Lesson 2.5 The Fundamental Theorem of Algebra. For f(x) where n > 0, there is at least one zero in the complex number system Complex → real and imaginary.
Roots of Equations Chapter 3. Roots of Equations Also called “zeroes” of the equation –A value x such that f(x) = 0 Extremely important in applications.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 8. Nonlinear equations.
Scientific Computing Algorithm Convergence and Root Finding Methods.
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.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 7.
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
11/30/ Secant Method Industrial Engineering Majors Authors: Autar Kaw, Jai Paul
Numerical Methods Root Finding 4. Fixed-Point Iteration---- Successive Approximation Many problems also take on the specialized form: g(x)=x, where we.
Newton’s Method, Root Finding with MATLAB and Excel
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
Numerical Analysis - Root Finding I-
Lecture 5 - Single Variable Problems CVEN 302 June 12, 2002.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 7 Roots of Polynomials.
Solving Non-Linear Equations (Root Finding)
Numerical Methods Solution of Equation.
Numerical Analysis – Differential Equation
4 Numerical Methods Root Finding Secant Method Modified Secant
LESSON 5.6 Rational Zeros of Polynomial Functions.
1/29/ Bisection Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul
4 Numerical Methods Root Finding.
Bellwork Perform the operation and write the result in standard from ( a + bi)
3/7/ Bisection Method Electrical Engineering Majors Authors: Autar Kaw, Jai Paul
6/13/ Secant Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul
Find the roots Identify the multiplicity 3.5: Finding Real Roots of Polynomial Equations.
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.
Warm Up Compute the following by using long division.
4 Numerical Methods Root Finding Secant Method Modified Secant
Newton’s Method for Systems of Non Linear Equations
Computational Methods EML3041
Computers in Civil Engineering 53:081 Spring 2003
SOLUTION OF NONLINEAR EQUATIONS
4 Numerical Methods Root Finding.
3.8 Newton’s Method How do you find a root of the following function without a graphing calculator? This is what Newton did.
2.6 Find Rational Zeros Pg. 89.
2.6 Find Rational Zeros Pg. 89.
Roots of Polynomials Chapter 7 The Islamic University of Gaza
1 Newton’s Method.
Presentation transcript:

Numerical Analysis - Advanced Topics in Root Finding - Hanyang University Jong-Il Park

Department of Computer Science and Engineering, Hanyang University Summary: Root Finding

Department of Computer Science and Engineering, Hanyang University Error analysis of N-R method Taylor series: Newton-Raphson method: At the true solution x r : --- (1) --- (2) (1)  (2) : Let Quadratic convergence!

Department of Computer Science and Engineering, Hanyang University Error Analysis of Secant Method Convergence [Jeeves, 1958]  More efficient than N-R method if the calculation of f’(x) is complex Modified secant method

Department of Computer Science and Engineering, Hanyang University Multiple roots Bracketing methods cannot cope with multiple roots Open methods can find multiple roots  But the speed is slow in many cases  f’(x)  0 will cause a problem(divide by zero) f(x) will always reach zero before f’(x) [Ralston and Rabinowitz, 1978]  if a zero check for f(x) is incorporated into the program, the computation can be terminated before f’(x) reaches zero  Alternative way using u(x)=f(x)/f’(x)

Department of Computer Science and Engineering, Hanyang University Polynomial evaluation Bad method Worst method Best method C code

Department of Computer Science and Engineering, Hanyang University Polynomial differentiation or

Department of Computer Science and Engineering, Hanyang University N-th derivatives

Department of Computer Science and Engineering, Hanyang University Polynomial deflation Multiplication by (x-a) Synthetic division by (x-a)

Department of Computer Science and Engineering, Hanyang University Bairstow’s method Deflation method  Find r and s such that b 0 =b 1 =0  Efficient routine using synthetic division exists  Good initial guess of r, s is important  Complex roots can be evaluated  Suitable for root polishing In Numerical Recipes in C void qroot();  Read Sect.7.5.

Department of Computer Science and Engineering, Hanyang University Laguerre method Deflation method Algorithm derivation In Numerical Recipes in C: zroots() calls laguer();

Department of Computer Science and Engineering, Hanyang University Application of Root Finding: Electric circuit design(1/2) Problem: Find the proper R to dissipate energy to 1% at a specified rate(t=0.05s), given L=5H, C=10 -4 F. Solution:

Department of Computer Science and Engineering, Hanyang University Application of Root Finding: Electric circuit design(2/2) Reasonable initial range for R: 0< R < 400 To achieve r.e. of % Bisection method: 21 iterations Other methods: ? To achieve r.e. of % Bisection method: ? iterations Other methods: ? [Homework]

Department of Computer Science and Engineering, Hanyang University Homework #4 Find the root of f(R)=0 and the number of iterations when the r.e.=10 -4 and respectively. Solve the problems: 8-31, 32 Explain the concept of “pointer to function” and describe how you use it in your homework #3. [Due: 10/17]