Chapter 1: False-Position Method of Solving a Nonlinear Equation

Slides:



Advertisements
Similar presentations
Lecture 5 Newton-Raphson Method
Advertisements

CSE 330: Numerical Methods
Civil Engineering Majors Author(s): Autar Kaw, Jai Paul
Numerical Methods. Read xl and xu Define the function f(xl)f(xu) : 0 xu = xm Find xm=(xl+xu)/2 Read ε(limit) & max_iteration f(xl)f(xm):0 Ea = |(xm-xmold)*100/xm|
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.
Chapter 1 Introduction. Copyright © 2003 by Pearson Education, Inc.1-2.
8/30/ Secant Method Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
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
Numerical Methods Part: Simpson Rule For Integration.
10/21/ Bisection Method Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
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.
Numerical Methods for Engineering MECN 3500
Numerical Methods Part: False-Position Method of Solving a Nonlinear Equation
11/30/ Secant Method Industrial Engineering Majors Authors: Autar Kaw, Jai Paul
12/1/ Trapezoidal Rule of Integration Civil Engineering Majors Authors: Autar Kaw, Charlie Barker
Newton-Raphson Method. Figure 1 Geometrical illustration of the Newton-Raphson method. 2.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 7 Roots of Polynomials.
Solution of Nonlinear Equations Topic: Bisection method
Today’s class Numerical differentiation Roots of equation Bracketing methods Numerical Methods, Lecture 4 1 Prof. Jinbo Bi CSE, UConn.
4 Numerical Methods Root Finding Secant Method Modified Secant
1/29/ Bisection Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul
2/2/ Secant Method Electrical Engineering Majors Authors: Autar Kaw, Jai Paul
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.
3/7/ Bisection Method Electrical Engineering Majors Authors: Autar Kaw, Jai Paul
Numerical Methods Part: False-Position Method of Solving a Nonlinear Equation
6/13/ Secant Method Computer Engineering Majors Authors: Autar Kaw, Jai Paul
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.
Lecture 4 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
1 Gauss-Seidel Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis Applied Numerical Method for Engineers Chapter 11.
7/11/ Bisection Method Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
Numerical Methods Slide Credit
CSE 330: Numerical Methods. Introduction The bisection and false position method require bracketing of the root by two guesses Such methods are called.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 / Chapter 5.
Trapezoidal Rule of Integration
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Newton-Raphson Method
CHAPTER 3 NUMERICAL METHODS
Newton-Raphson Method
Numerical Analysis Lecture 5.
Bracketing Methods (Bisection Method)
Gauss Quadrature Rule of Integration
Secant Method.
Lecture 4: Numerical Methods
Secant Method – Derivation
Chemical Engineering Majors Authors: Autar Kaw, Jai Paul
Newton-Raphson Method
Trapezoidal Rule of Integration
Bisection Method.
Computer Engineering Majors Authors: Autar Kaw, Luke Snyder
Newton-Raphson Method
Gauss Quadrature Rule of Integration
Applied Numerical Methods
Elliptic Partial Differential Equations – Gauss-Seidel Method
SOLUTION OF NONLINEAR EQUATIONS
Measuring Errors Major: All Engineering Majors
Chemical Engineering Majors Authors: Autar Kaw, Jai Paul
Numerical Computation and Optimization
Simpson’s 1/3rd Rule of Integration
Romberg Rule of Integration
Newton-Raphson Method
Romberg Rule of Integration
Mechanical Engineering Majors Authors: Autar Kaw, Jai Paul
Roots of Polynomials Chapter 7 The Islamic University of Gaza
Romberg Rule of Integration
Industrial Engineering Majors Authors: Autar Kaw, Jai Paul
Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
Presentation transcript:

Chapter 1: False-Position Method of Solving a Nonlinear Equation http://numericalmethods.eng.usf.edu Numerical Methods for STEM undergraduates 11/30/2018 http://numericalmethods.eng.usf.edu 1

Introduction (1) In the Bisection method (2) (3) Figure 1 False-Position Method 2 http://numericalmethods.eng.usf.edu

False-Position Method Based on two similar triangles, shown in Figure 1, one gets: (4) The signs for both sides of Eq. (4) is consistent, since: http://numericalmethods.eng.usf.edu

The above equation can be solved to obtain the next predicted root From Eq. (4), one obtains The above equation can be solved to obtain the next predicted root , as (5) http://numericalmethods.eng.usf.edu

The above equation, (6) http://numericalmethods.eng.usf.edu

Step-By-Step False-Position Algorithms 1. Choose and as two guesses for the root such that 2. Estimate the root, 3. Now check the following (a) If , then the root lies between and ; then and (b) If , then the root lies between and ; then and http://numericalmethods.eng.usf.edu

Stop the algorithm if this is true. (c) If , then the root is Stop the algorithm if this is true. 4. Find the new estimate of the root Find the absolute relative approximate error as http://numericalmethods.eng.usf.edu

= estimated root from present iteration where = estimated root from present iteration = estimated root from previous iteration 5. If , then go to step 3, else stop the algorithm. Notes: The False-Position and Bisection algorithms are quite similar. The only difference is the formula used to calculate the new estimate of the root shown in steps #2 and 4! http://numericalmethods.eng.usf.edu

Example 1 The non linear equation that gives the depth Use the false-position method of finding roots of equations. Conduct three iterations to estimate the root of the above equation. Find the absolute relative approximate error at the end of each iteration. http://numericalmethods.eng.usf.edu

Iteration 1 http://numericalmethods.eng.usf.edu

Iteration 2 Hence, http://numericalmethods.eng.usf.edu

Iteration 3 http://numericalmethods.eng.usf.edu

Hence, http://numericalmethods.eng.usf.edu

for False-Position Method. Table 1: Root of for False-Position Method. Iteration 1 0.0000 0.1100 0.0660 N/A -3.1944x10-5 2 0.0611 8.00 1.1320x10-5 3 0.0624 2.05 -1.1313x10-7 4 0.0632377619 0.02 -3.3471x10-10 http://numericalmethods.eng.usf.edu

Exercise 1 The non linear equation that gives as Use the false-position method of finding roots of equations. Conduct three iterations to estimate the root of the above equation. Find the absolute relative approximate error at the end of each iteration. http://numericalmethods.eng.usf.edu

Let us assume Hence, http://numericalmethods.eng.usf.edu

Iteration 1 http://numericalmethods.eng.usf.edu

References S.C. Chapra, R.P. Canale, Numerical Methods for Engineers, Fourth Edition, Mc-Graw Hill. http://numericalmethods.eng.usf.edu

The End http://numericalmethods.eng.usf.edu

Acknowledgement This instructional power point brought to you by Numerical Methods for STEM undergraduate http://numericalmethods.eng.usf.edu Committed to bringing numerical methods to the undergraduate