MATH 2140 Numerical Methods

Slides:



Advertisements
Similar presentations
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
Advertisements

Open Methods Chapter 6 The Islamic University of Gaza
Increasing/Decreasing
Regula-Falsi Method. Type of Algorithm (Equation Solver) The Regula-Falsi Method (sometimes called the False Position Method) is a method used to find.
Open Methods Chapter 6 The Islamic University of Gaza
Open Methods Chapter 6 The Islamic University of Gaza
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
Universidad de La Habana Lectures 5 & 6 : Difference Equations Kurt Helmes 22 nd September - 2nd October, 2008.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 9 Roots of Equations Open Methods.
Notes, part 5. L’Hospital Another useful technique for computing limits is L'Hospital's rule: Basic version: If, then provided the latter exists. This.
Open Methods Chapter 6 The Islamic University of Gaza
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
NUMERICAL METHODS WITH C++ PROGRAMMING
Differentiating the Inverse. Objectives Students will be able to Calculate the inverse of a function. Determine if a function has an inverse. Differentiate.
Notes, part 4 Arclength, sequences, and improper integrals.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 8 Roots of Equations Open Methods.
Roots of Equations Open Methods Second Term 05/06.
Fin500J: Mathematical Foundations in Finance Topic 3: Numerical Methods for Solving Non-linear Equations Philip H. Dybvig Reference: Numerical Methods.
DEPARTMENT OF MATHEMATI CS [ YEAR OF ESTABLISHMENT – 1997 ] DEPARTMENT OF MATHEMATICS, CVRCE.
Continuity ( Section 1.8) Alex Karassev. Definition A function f is continuous at a number a if Thus, we can use direct substitution to compute the limit.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
Numerical Methods.
CHAPTER 3 NUMERICAL METHODS
Numerical Methods Root Finding 4. Fixed-Point Iteration---- Successive Approximation Many problems also take on the specialized form: g(x)=x, where we.
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
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 7 Roots of Polynomials.
One Answer, No Answers, or an Infinite Number of Answers.
4 Numerical Methods Root Finding.
Solving Polynomials.
Solution of Nonlinear Equations ( Root Finding Problems ) Definitions Classification of Methods  Analytical Solutions  Graphical Methods  Numerical.
P2 Chapter 8 CIE Centre A-level Pure Maths © Adam Gibson.
Rearranging the equation f(x)=0 into the form x=g(x)
Solution of Nonlinear Equations ( Root Finding Problems )
CHAPTER 3 NUMERICAL METHODS
Basic Definitions and Terminology
Bracketing Methods (Bisection Method)
Newton’s Method for Systems of Non Linear Equations
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
Solution of Equations by Iteration
MATH 2140 Numerical Methods
Chaos Theory MS Electrical Engineering Department of Engineering
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
Increasing and Decreasing Functions
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
Intermediate Value Theorem
MATH 2140 Numerical Methods
You can find the roots of some quadratic equations by factoring and applying the Zero Product Property. Functions have zeros or x-intercepts. Equations.
Intermediate Value Theorem
4 Numerical Methods Root Finding.
ROOTS OF EQUATIONS.
To find the inverse of a function
Continuity Alex Karassev.
7.8 Improper Integrals.
To find the inverse of a function
FP1: Chapter 2 Numerical Solutions of Equations
We’ll need to use the ratio test.
MATH 2140 Numerical Methods
Fixed- Point Iteration
Graph the function. 1. f(x) = (x - 5) g(x) = (x + 1)2 + 7
Roots of Polynomials Chapter 7 The Islamic University of Gaza
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
Presentation transcript:

MATH 2140 Numerical Methods Faculty of Engineering Mechanical Engineering Department MATH 2140 Numerical Methods Instructor: Dr. Mohamed El-Shazly Associate Prof. of Mechanical Design and Tribology melshazly@ksu.edu.sa Office: F072

B.1. Fixed Point Iteration Also known as one-point iteration or successive substitution To find the root for f(x) = 0, we reformulate f(x) = 0 so that there is an x on one side of the equation. If we can solve g(x) = x, we solve f(x) = 0. x is known as the fixed point of g(x). We solve g(x) = x by computing until xi+1 converges to x.

Fixed Point Iteration – Example Reason: If x converges, i.e. xi+1  xi

There are infinite ways to construct g(x) from f(x). Fixed Point Iteration There are infinite ways to construct g(x) from f(x). For example, (ans: x = 3 or -1) Case a: Case b: Case c: So which one is better?

Converge! Diverge! Converge, but slower x0 = 4 x1 = 3.31662

How to choose g(x)? Can we know which g(x) would converge to solution before we do the computation?

Convergence of Fixed Point Iteration According to the derivative mean-value theorem, if g(x) and g'(x) are continuous over an interval xi ≤ x ≤ α, there exists a value x = c within the interval such that Therefore, if |g'(c)| < 1, the error decreases with each iteration. If |g'(c)| > 1, the error increase. If the derivative is positive, the iterative solution will be monotonic. If the derivative is negative, the errors will oscillate.

Demo (a) |g'(x)| < 1, g'(x) is +ve converge, monotonic (b) |g'(x)| < 1, g'(x) is -ve converge, oscillate (c) |g'(x)| > 1, g'(x) is +ve diverge, monotonic (d) |g'(x)| > 1, g'(x) is -ve diverge, oscillate Demo