Finding Roots of Equations

Size: px
Start display at page:

Download "Finding Roots of Equations"

Transcription

1 Finding Roots of Equations

2 Solution Methods Overview Bisection/Half-interval Search Method of false position/regula Falsi Secant Method Newton Raphson Iteration Method Many more. Open Methods Bracketing Methods 2 Algebraic equation: a b c 0 Transcendental equation: 1 cos 5 0 CE 206: Engg. Computation sessional

3 Bracketing Methods: Bisection a new new old 100% Location of the root lies within the interval where the sign change occurs The absolute error is reduced by a factor of 2 for each iteration. CE 206: Engg. Computation sessional

4 MATLAB code: bisection method function [root,f,ea,iter]=bisect(func,l,u,es,mait) % [root,f,ea,iter]=bisect('func',l,u,es,mait): % uses bisection method to find the root of func % input: % func = name of function % l, u = lower and upper guesses % es = desired relative error (default = ) % mait = maimum allowable iterations (default = 50) % output: % root = real root % f = function value at root % ea = approimate relative error (%) % iter = number of iterations Comment lines if nargin<3,error('at least 3 input arguments required'),end test = feval('func',l)*feval('func',u); if test>0,error( roots cannot be found'),end if nargin<4 isempty(es), es=0.0001;end if nargin<5 isempty(mait), mait=50;end Checking whether the roots are within these bounds or not CE 206: Engg. Computation sessional

5 MATLAB code: bisection method (ctd) iter = 0; r = l; ea = 100; while (1) rold = r; r = (l + u)/2; iter = iter + 1; if r ~= 0,ea = abs((r - rold)/r) * 100;end test = feval('func',l)*feval('func',r); if test < 0 u = r; elseif test > 0 l = r; else ea = 0; end if ea <= es iter >= mait,break,end end root = r; f = feval('func',r); The variables that change their values within the code needs to be initialized Calculating appro. error a new new old 100% Stopping criteria CE 206: Engg. Computation sessional

6 func.m file definition function [value] = func() value = ^3-10*^2+5; Evaluating the function [root,f,ea,iter]=bisect('func',0.6,0.8) root = f = ea = e-005 iter = 19 Root of the function after 19 iterations ea< was the stopping criterion CE 206: Engg. Computation sessional

7 Bracketing Methods: Regula Falsi the location of the intercept of the straight line ( r ): r u f ( u )( l u ) f ( l ) f ( u ) Try yourself: Modify the bisect.m function file to incorporate the regula falsi method bisection r = (l + u)/2; Regula Falsi r = u-feval( func,u)*(l-u) /(feval( func,l)-feval( func,u));

8 Newton-Raphson Method Based on forming the tangent line to the f() curve at some guess, then following the tangent line to where it crosses the -ais. ) ( ) ( 0 ) ( ) ( 1 1 i i i i i i i i f f f f a i1 i i1 100%

9 MATLAB code: newtraph.m function [root,ea,iter]=newtraph(func,dfunc,r,es,mait) if nargin<3, error('at least 3 input arguments required') end if nargin<4 isempty(es),es=0.0001;end if nargin<5 isempty(mait),mait=50;end iter = 0; while (1) rold = r; Derivative of the function (needs to be defined) r = r - feval('func',r)/feval('dfunc',r); iter = iter + 1; if r ~= 0, ea = abs((r - rold)/r) * 100; end if ea <= es iter >= mait, break, end end root = r; i1 i f ( i ) f ( ) i

10 Secant Method the derivative approimated by a backward finite divided difference: f ' ( i ) f ( i1 ) f ( i ) i1 i i1 i f ( ) i i1 i f ( i1 ) f ( i ) Note: Requires two initial guesses for f() f( i ) f( i-1 ) i-1 i Eercise: Can you modify newtraph.m function file and make it applicable for the secant method?

11 Secant Method: Eercise Apply the developed code for the secant method to find the first positive root of f() = sin + cos(1+ 2 ) 1 where is in radians. Use four iterations with initial guesses of (i) 1.0 and 3.0 (ii) 1.5 and 2.5, and (iii) 1.5 and 2.25

12 MATLAB s fzero function MATLAB s fzero provides the best qualities of both bracketing methods and open methods. Using an initial guess: = fzero(function, 0) [, f] = fzero(function, 0) Location of the root Evaluated at the root Function handle to the function being evaluated Using an initial bracket: Initial guess = fzero(function, [0 1]) [, f] = fzero(function, [0 1]) Initial guesses that bracket the root Using create or edit fzero options using optimset options = optimset('param1',value1,'param2',value2,...)

13 fzero eample options = optimset( display, iter ); Sets options to display each iteration of root finding process. Other optimset properties: MaIter, TolX [, f] = fzero(@() ^10-1, 0.5, options) Uses fzero to find roots of f()= 10-1 starting with an initial guess of =0.5. MATLAB reports = 1, f = 0 after 35 function counts

14 MATLAB s roots function Roots of polynomials: For an nth order equation, there are n real or comple roots. n = roots(c) f ( ) a 0 a a a is a column vector containing the roots 1 c is a row vector containing the polynomial coefficients 2 2 n n Eample: Find the roots of f()= = roots([ ])

15 Eercise 1 20 kips/ft 150 kip-ft Using singularity functions, the shear, bending moment and displacement along the simply supported beam can be epressed as follows: V( ) kips 5 ft 2 ft 1 ft 2 ft M( ) u( ) Using any root location technique, find the points where shear and bending moment equal to zero and where the displacement is maimum. Also draw the shear force, bending moment and displacement diagrams

16 Eercise 1: solution hints 20 kips/ft 150 kip-ft 15 kips 5 ft 2 ft 1 ft 2 ft V( ) function f = V() f=20*(sing(,0,1)-sing(,5,1))-15*sing(,8,0)-57; In addition, the singularity function can be set up as function s = sing(, a, n) if > a s = ( - a) ^ n; else s = 0; end a n ( a) 0 n when when a a Solution: V() = 0 at = 2.85 ft, M() = 0 at = ft, U() = 0 at = ft

17 Eercise 2 The saturation concentration of dissolved oygen in freshwater can be calculated with the equation: ln O sat T a T O sat = Saturation concentration of DO (mg/l) T a = T where T = temperature ( C) 2 a T 3 a T 4 a 11 Fill up the following table (use bisection method): epress your results for an absolute error of 0.05 C O sat (mg/l) Temperature ( C) 8?? 10?? 12??

18 Eercise 2: solution hints First determine how many iterations you need for the specified absolute error using the formula (see your CE 205 notes): Bracket range 0 40 log n log 2 E a, d Absolute error iterations should be enough Use bisect.m to compute the roots for maimum 10 iterations and also find the real roots using fzero function. Compare results. O sat Approimation Eact Error Less than 0.05

19 Concluding remarks Need to be judicious in choosing your initial guess (or initial brackets) of the root. A physical insight into the problem may help Apply common logic Some eamples: - Water level in a spherical tank cannot eceed the diameter - Temperature in natural water bodies usually within a specific range, (e.g. cannot be negative) - deflection of a beam is maimum where the du/d is zero - Water level in a tank cannot eceed tank depth (or cannot be negative) - etc.

20 Eercise Water is flowing in a trapezoidal channel at a rate of Q = 20 m 3 /s. The critical depth y for such a channel must satisfy the equation: Where g = 9.81 m 2 /s, A c = channel cross-sectional area (m 2 ) = 3y + y 2 /2 and B = width of the channel at the surface (m) = 3 + y. Solve for the critical depth (y) using both bisection and method of false position using the initial guesses 0.5 and 2.5 and iterate until the approimate error falls below 1% or the number of iterations eceed 10. Compare your results from both methods

Numerical Analysis Fall. Roots: Open Methods

Numerical Analysis Fall. Roots: Open Methods Numerical Analysis 2015 Fall Roots: Open Methods Open Methods Open methods differ from bracketing methods, in that they require only a single starting value or two starting values that do not necessarily

More information

SOLVING EQUATIONS OF ONE VARIABLE

SOLVING EQUATIONS OF ONE VARIABLE 1 SOLVING EQUATIONS OF ONE VARIABLE ELM1222 Numerical Analysis Some of the contents are adopted from Laurene V. Fausett, Applied Numerical Analysis using MATLAB. Prentice Hall Inc., 1999 2 Today s lecture

More information

6.1 The function can be set up for fixed-point iteration by solving it for x

6.1 The function can be set up for fixed-point iteration by solving it for x 1 CHAPTER 6 6.1 The function can be set up for fied-point iteration by solving it for 1 sin i i Using an initial guess of 0 = 0.5, the first iteration yields 1 sin 0.5 0.649637 a 0.649637 0.5 100% 3% 0.649637

More information

Numerical Methods. Root Finding

Numerical Methods. Root Finding Numerical Methods Solving Non Linear 1-Dimensional Equations Root Finding Given a real valued function f of one variable (say ), the idea is to find an such that: f() 0 1 Root Finding Eamples Find real

More information

Therefore, the root is in the second interval and the lower guess is redefined as x l = The second iteration is

Therefore, the root is in the second interval and the lower guess is redefined as x l = The second iteration is 1 CHAPTER 5 5.1 The function to evaluate is gm gc d f ( cd ) tanh t v( t) c d m or substituting the given values 9.81(65) 9.81 ( ) tanh cd f c 4.5 d 35 c 65 d The first iteration is. +.3.5 f (.) f (.5)

More information

Numerical Methods School of Mechanical Engineering Chung-Ang University

Numerical Methods School of Mechanical Engineering Chung-Ang University Part 2 Chapter 7 Optimization Prof. Hae-Jin Choi hjchoi@cau.ac.kr 1 Chapter Objectives l Understanding why and where optimization occurs in engineering and scientific problem solving. l Recognizing the

More information

NON-LINEAR ALGEBRAIC EQUATIONS Lec. 5.1: Nonlinear Equation in Single Variable

NON-LINEAR ALGEBRAIC EQUATIONS Lec. 5.1: Nonlinear Equation in Single Variable NON-LINEAR ALGEBRAIC EQUATIONS Lec. 5.1: Nonlinear Equation in Single Variable Dr. Niket Kaisare Department of Chemical Engineering IIT Madras NPTEL Course: MATLAB Programming for Numerical Computations

More information

MATH 3795 Lecture 12. Numerical Solution of Nonlinear Equations.

MATH 3795 Lecture 12. Numerical Solution of Nonlinear Equations. MATH 3795 Lecture 12. Numerical Solution of Nonlinear Equations. Dmitriy Leykekhman Fall 2008 Goals Learn about different methods for the solution of f(x) = 0, their advantages and disadvantages. Convergence

More information

Numerical Methods Lecture 3

Numerical Methods Lecture 3 Numerical Methods Lecture 3 Nonlinear Equations by Pavel Ludvík Introduction Definition (Root or zero of a function) A root (or a zero) of a function f is a solution of an equation f (x) = 0. We learn

More information

Chapter 6. Nonlinear Equations. 6.1 The Problem of Nonlinear Root-finding. 6.2 Rate of Convergence

Chapter 6. Nonlinear Equations. 6.1 The Problem of Nonlinear Root-finding. 6.2 Rate of Convergence Chapter 6 Nonlinear Equations 6. The Problem of Nonlinear Root-finding In this module we consider the problem of using numerical techniques to find the roots of nonlinear equations, f () =. Initially we

More information

Numerical Solution of f(x) = 0

Numerical Solution of f(x) = 0 Numerical Solution of f(x) = 0 Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@pdx.edu ME 350: Finding roots of f(x) = 0 Overview Topics covered in these slides

More information

APPLICATIONS OF DIFFERENTIATION

APPLICATIONS OF DIFFERENTIATION 4 APPLICATIONS OF DIFFERENTIATION APPLICATIONS OF DIFFERENTIATION 4.8 Newton s Method In this section, we will learn: How to solve high degree equations using Newton s method. INTRODUCTION Suppose that

More information

Applied Numerical Methods With MATLAB for Engineers and Scientists

Applied Numerical Methods With MATLAB for Engineers and Scientists Solutions Manual to accompany Applied Numerical Methods With MATLAB for Engineers and Scientists Steven C. Chapra Tufts University CHAPTER. You are given the following differential equation with the initial

More information

(a) Show that there is a root α of f (x) = 0 in the interval [1.2, 1.3]. (2)

(a) Show that there is a root α of f (x) = 0 in the interval [1.2, 1.3]. (2) . f() = 4 cosec 4 +, where is in radians. (a) Show that there is a root α of f () = 0 in the interval [.,.3]. Show that the equation f() = 0 can be written in the form = + sin 4 Use the iterative formula

More information

INTRODUCTION TO NUMERICAL ANALYSIS

INTRODUCTION TO NUMERICAL ANALYSIS INTRODUCTION TO NUMERICAL ANALYSIS Cho, Hyoung Kyu Department of Nuclear Engineering Seoul National University 3. SOLVING NONLINEAR EQUATIONS 3.1 Background 3.2 Estimation of errors in numerical solutions

More information

Finding the Roots of f(x) = 0. Gerald W. Recktenwald Department of Mechanical Engineering Portland State University

Finding the Roots of f(x) = 0. Gerald W. Recktenwald Department of Mechanical Engineering Portland State University Finding the Roots of f(x) = 0 Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@me.pdx.edu These slides are a supplement to the book Numerical Methods with Matlab:

More information

Finding the Roots of f(x) = 0

Finding the Roots of f(x) = 0 Finding the Roots of f(x) = 0 Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@me.pdx.edu These slides are a supplement to the book Numerical Methods with Matlab:

More information

Zeroes of Transcendental and Polynomial Equations. Bisection method, Regula-falsi method and Newton-Raphson method

Zeroes of Transcendental and Polynomial Equations. Bisection method, Regula-falsi method and Newton-Raphson method Zeroes of Transcendental and Polynomial Equations Bisection method, Regula-falsi method and Newton-Raphson method PRELIMINARIES Solution of equation f (x) = 0 A number (real or complex) is a root of the

More information

Exact and Approximate Numbers:

Exact and Approximate Numbers: Eact and Approimate Numbers: The numbers that arise in technical applications are better described as eact numbers because there is not the sort of uncertainty in their values that was described above.

More information

Solving Non-Linear Equations (Root Finding)

Solving Non-Linear Equations (Root Finding) Solving Non-Linear Equations (Root Finding) Root finding Methods What are root finding methods? Methods for determining a solution of an equation. Essentially finding a root of a function, that is, a zero

More information

PART I Lecture Notes on Numerical Solution of Root Finding Problems MATH 435

PART I Lecture Notes on Numerical Solution of Root Finding Problems MATH 435 PART I Lecture Notes on Numerical Solution of Root Finding Problems MATH 435 Professor Biswa Nath Datta Department of Mathematical Sciences Northern Illinois University DeKalb, IL. 60115 USA E mail: dattab@math.niu.edu

More information

Chapter 4. Solution of a Single Nonlinear Algebraic Equation

Chapter 4. Solution of a Single Nonlinear Algebraic Equation Single Nonlinear Algebraic Equation - 56 Chapter 4. Solution of a Single Nonlinear Algebraic Equation 4.1. Introduction Life, my fris, is nonlinear. As such, in our roles as problem-solvers, we will be

More information

Finding roots. Lecture 4

Finding roots. Lecture 4 Finding roots Lecture 4 Finding roots: Find such that 0 or given. Bisection method: The intermediate value theorem states the obvious: i a continuous unction changes sign within a given interval, it has

More information

CHAPTER-II ROOTS OF EQUATIONS

CHAPTER-II ROOTS OF EQUATIONS CHAPTER-II ROOTS OF EQUATIONS 2.1 Introduction The roots or zeros of equations can be simply defined as the values of x that makes f(x) =0. There are many ways to solve for roots of equations. For some

More information

by Martin Mendez, UASLP Copyright 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

by Martin Mendez, UASLP Copyright 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 5 by Martin Mendez, 1 Roots of Equations Part Why? b m b a + b + c = 0 = aa 4ac But a 5 4 3 + b + c + d + e + f = 0 sin + = 0 =? =? by Martin Mendez, Nonlinear Equation Solvers Bracketing Graphical

More information

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 4

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 4 2.29 Spring 2015 Lecture 4 Review Lecture 3 Truncation Errors, Taylor Series and Error Analysis Taylor series: 2 3 n n i1 i i i i i n f( ) f( ) f '( ) f ''( ) f '''( )... f ( ) R 2! 3! n! n1 ( n1) Rn f

More information

Example - Newton-Raphson Method

Example - Newton-Raphson Method Eample - Newton-Raphson Method We now consider the following eample: minimize f( 3 3 + -- 4 4 Since f ( 3 2 + 3 3 and f ( 6 + 9 2 we form the following iteration: + n 3 ( n 3 3( n 2 ------------------------------------

More information

Mathematical Methods for Numerical Analysis and Optimization

Mathematical Methods for Numerical Analysis and Optimization Biyani's Think Tank Concept based notes Mathematical Methods for Numerical Analysis and Optimization (MCA) Varsha Gupta Poonam Fatehpuria M.Sc. (Maths) Lecturer Deptt. of Information Technology Biyani

More information

NUMERICAL METHODS FOR SOLVING EQUATIONS

NUMERICAL METHODS FOR SOLVING EQUATIONS Mathematics Revision Guides Numerical Methods for Solving Equations Page of M.K. HOME TUITION Mathematics Revision Guides Level: AS / A Level AQA : C3 Edecel: C3 OCR: C3 NUMERICAL METHODS FOR SOLVING EQUATIONS

More information

Page No.1. MTH603-Numerical Analysis_ Muhammad Ishfaq

Page No.1. MTH603-Numerical Analysis_ Muhammad Ishfaq Page No.1 File Version v1.5.3 Update: (Dated: 3-May-011) This version of file contains: Content of the Course (Done) FAQ updated version.(these must be read once because some very basic definition and

More information

p 1 p 0 (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- cant method.

p 1 p 0 (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- cant method. 80 CHAP. 2 SOLUTION OF NONLINEAR EQUATIONS f (x) = 0 y y = f(x) (p, 0) p 2 p 1 p 0 x (p 1, f(p 1 )) (p 0, f(p 0 )) The geometric construction of p 2 for the se- Figure 2.16 cant method. Secant Method The

More information

NUMERICAL AND STATISTICAL COMPUTING (MCA-202-CR)

NUMERICAL AND STATISTICAL COMPUTING (MCA-202-CR) NUMERICAL AND STATISTICAL COMPUTING (MCA-202-CR) Autumn Session UNIT 1 Numerical analysis is the study of algorithms that uses, creates and implements algorithms for obtaining numerical solutions to problems

More information

Virtual University of Pakistan

Virtual University of Pakistan Virtual University of Pakistan File Version v.0.0 Prepared For: Final Term Note: Use Table Of Content to view the Topics, In PDF(Portable Document Format) format, you can check Bookmarks menu Disclaimer:

More information

Solution of Algebric & Transcendental Equations

Solution of Algebric & Transcendental Equations Page15 Solution of Algebric & Transcendental Equations Contents: o Introduction o Evaluation of Polynomials by Horner s Method o Methods of solving non linear equations o Bracketing Methods o Bisection

More information

B.Tech. Theory Examination (Semester IV) Engineering Mathematics III

B.Tech. Theory Examination (Semester IV) Engineering Mathematics III Solved Question Paper 5-6 B.Tech. Theory Eamination (Semester IV) 5-6 Engineering Mathematics III Time : hours] [Maimum Marks : Section-A. Attempt all questions of this section. Each question carry equal

More information

FP1 PAST EXAM QUESTIONS ON NUMERICAL METHODS: NEWTON-RAPHSON ONLY

FP1 PAST EXAM QUESTIONS ON NUMERICAL METHODS: NEWTON-RAPHSON ONLY FP PAST EXAM QUESTIONS ON NUMERICAL METHODS: NEWTON-RAPHSON ONLY A number of questions demand that you know derivatives of functions now not included in FP. Just look up the derivatives in the mark scheme,

More information

CHAPTER 4 ROOTS OF EQUATIONS

CHAPTER 4 ROOTS OF EQUATIONS CHAPTER 4 ROOTS OF EQUATIONS Chapter 3 : TOPIC COVERS (ROOTS OF EQUATIONS) Definition of Root of Equations Bracketing Method Graphical Method Bisection Method False Position Method Open Method One-Point

More information

The region enclosed by the curve of f and the x-axis is rotated 360 about the x-axis. Find the volume of the solid formed.

The region enclosed by the curve of f and the x-axis is rotated 360 about the x-axis. Find the volume of the solid formed. Section A ln. Let g() =, for > 0. ln Use the quotient rule to show that g ( ). 3 (b) The graph of g has a maimum point at A. Find the -coordinate of A. (Total 7 marks) 6. Let h() =. Find h (0). cos 3.

More information

Root finding. Eugeniy E. Mikhailov. Lecture 06. The College of William & Mary. Eugeniy Mikhailov (W&M) Practical Computing Lecture 06 1 / 10

Root finding. Eugeniy E. Mikhailov. Lecture 06. The College of William & Mary. Eugeniy Mikhailov (W&M) Practical Computing Lecture 06 1 / 10 Root finding Eugeniy E. Mikhailov The College of William & Mary Lecture 06 Eugeniy Mikhailov (W&M) Practical Computing Lecture 06 1 / 10 Root finding problem Generally we want to solve the following canonical

More information

Solution of Nonlinear Equations

Solution of Nonlinear Equations Solution of Nonlinear Equations In many engineering applications, there are cases when one needs to solve nonlinear algebraic or trigonometric equations or set of equations. These are also common in Civil

More information

Lecture 8. Root finding II

Lecture 8. Root finding II 1 Introduction Lecture 8 Root finding II In the previous lecture we considered the bisection root-bracketing algorithm. It requires only that the function be continuous and that we have a root bracketed

More information

BSM510 Numerical Analysis

BSM510 Numerical Analysis BSM510 Numerica Anaysis Roots: Bracketing methods : Open methods Prof. Manar Mohaisen Department of EEC Engineering Lecture Content v Introduction v Bracketing methods v Open methods v MATLAB hints 2 Introduction

More information

Root-finding and optimisation

Root-finding and optimisation Root-finding and optimisation Reference tets: Chapra, S., R. Canale. Numerical Methods for Engineers, 3rd ed., McGraw-Hill, New York, 1998. Parts 2 and 4. Root-finding Simple mathematical equations have

More information

MA 114 Worksheet #01: Integration by parts

MA 114 Worksheet #01: Integration by parts Fall 8 MA 4 Worksheet Thursday, 3 August 8 MA 4 Worksheet #: Integration by parts. For each of the following integrals, determine if it is best evaluated by integration by parts or by substitution. If

More information

CS 221 Lecture 9. Tuesday, 1 November 2011

CS 221 Lecture 9. Tuesday, 1 November 2011 CS 221 Lecture 9 Tuesday, 1 November 2011 Some slides in this lecture are from the publisher s slides for Engineering Computation: An Introduction Using MATLAB and Excel 2009 McGraw-Hill Today s Agenda

More information

R x n. 2 R We simplify this algebraically, obtaining 2x n x n 1 x n x n

R x n. 2 R We simplify this algebraically, obtaining 2x n x n 1 x n x n Math 42 Homework 4. page 3, #9 This is a modification of the bisection method. Write a MATLAB function similar to bisect.m. Here, given the points P a a,f a and P b b,f b with f a f b,we compute the point

More information

Root finding. Eugeniy E. Mikhailov. Lecture 05. The College of William & Mary. Eugeniy Mikhailov (W&M) Practical Computing Lecture 05 1 / 10

Root finding. Eugeniy E. Mikhailov. Lecture 05. The College of William & Mary. Eugeniy Mikhailov (W&M) Practical Computing Lecture 05 1 / 10 Root finding Eugeniy E. Mikhailov The College of William & Mary Lecture 05 Eugeniy Mikhailov (W&M) Practical Computing Lecture 05 1 / 10 Root finding problem Generally we want to solve the following canonical

More information

Chapter 5 Roots of Equations: Bracketing Models. Gab-Byung Chae

Chapter 5 Roots of Equations: Bracketing Models. Gab-Byung Chae Chapter 5 Roots of Equations: Bracketing Models Gab-Byung Chae 2008 4 17 2 Chapter Objectives Studying Bracketing Methods Understanding what roots problems are and where they occur in engineering and science.

More information

Numerical Methods. Roots of Equations

Numerical Methods. Roots of Equations Roots of Equations by Norhayati Rosli & Nadirah Mohd Nasir Faculty of Industrial Sciences & Technology norhayati@ump.edu.my, nadirah@ump.edu.my Description AIMS This chapter is aimed to compute the root(s)

More information

CALCULUS APPLICATIONS OF DIFFERENTIATION LESSON PLAN. C3 Topic Overview

CALCULUS APPLICATIONS OF DIFFERENTIATION LESSON PLAN. C3 Topic Overview CALCULUS C3 Topic Overview C3 APPLICATIONS OF DIFFERENTIATION Differentiation can be used to investigate the behaviour of a function, to find regions where the value of a function is increasing or decreasing

More information

The Fundamental Theorem of Calculus Part 3

The Fundamental Theorem of Calculus Part 3 The Fundamental Theorem of Calculus Part FTC Part Worksheet 5: Basic Rules, Initial Value Problems, Rewriting Integrands A. It s time to find anti-derivatives algebraically. Instead of saying the anti-derivative

More information

Bisection and False Position Dr. Marco A. Arocha Aug, 2014

Bisection and False Position Dr. Marco A. Arocha Aug, 2014 Bisection and False Position Dr. Marco A. Arocha Aug, 2014 1 Given function f, we seek x values for which f(x)=0 Solution x is the root of the equation or zero of the function f Problem is known as root

More information

Numerical Analysis & Computer Programming

Numerical Analysis & Computer Programming ++++++++++ Numerical Analysis & Computer Programming Previous year Questions from 07 to 99 Ramanasri Institute W E B S I T E : M A T H E M A T I C S O P T I O N A L. C O M C O N T A C T : 8 7 5 0 7 0 6

More information

Numerical Integration (Quadrature) Another application for our interpolation tools!

Numerical Integration (Quadrature) Another application for our interpolation tools! Numerical Integration (Quadrature) Another application for our interpolation tools! Integration: Area under a curve Curve = data or function Integrating data Finite number of data points spacing specified

More information

3.1: 1, 3, 5, 9, 10, 12, 14, 18

3.1: 1, 3, 5, 9, 10, 12, 14, 18 3.:, 3, 5, 9,,, 4, 8 ) We want to solve d d c() d = f() with c() = c = constant and f() = for different boundary conditions to get w() and u(). dw d = dw d d = ( )d w() w() = w() = w() ( ) c d d = u()

More information

Comparative Analysis of Convergence of Various Numerical Methods

Comparative Analysis of Convergence of Various Numerical Methods Journal of Computer and Mathematical Sciences, Vol.6(6),290-297, June 2015 (An International Research Journal), www.compmath-journal.org ISSN 0976-5727 (Print) ISSN 2319-8133 (Online) Comparative Analysis

More information

Hence a root lies between 1 and 2. Since f a is negative and f(x 0 ) is positive The root lies between a and x 0 i.e. 1 and 1.

Hence a root lies between 1 and 2. Since f a is negative and f(x 0 ) is positive The root lies between a and x 0 i.e. 1 and 1. The Bisection method or BOLZANO s method or Interval halving method: Find the positive root of x 3 x = 1 correct to four decimal places by bisection method Let f x = x 3 x 1 Here f 0 = 1 = ve, f 1 = ve,

More information

TWO METHODS FOR OF EQUATIONS

TWO METHODS FOR OF EQUATIONS TWO METHODS FOR FINDING ROOTS OF EQUATIONS Closed (Bracketing) Methods Open Methods Motivation: i In engineering applications, it is often necessary to determine the rootofan of equation when a formula

More information

Study Guide and Intervention. The Quadratic Formula and the Discriminant. Quadratic Formula. Replace a with 1, b with -5, and c with -14.

Study Guide and Intervention. The Quadratic Formula and the Discriminant. Quadratic Formula. Replace a with 1, b with -5, and c with -14. Study Guide and Intervention Quadratic Formula The Quadratic Formula can be used to solve any quadratic equation once it is written in the form a 2 + b + c = 0. Quadratic Formula The solutions of a 2 +

More information

APPM 1360 Final Exam Spring 2016

APPM 1360 Final Exam Spring 2016 APPM 36 Final Eam Spring 6. 8 points) State whether each of the following quantities converge or diverge. Eplain your reasoning. a) The sequence a, a, a 3,... where a n ln8n) lnn + ) n!) b) ln d c) arctan

More information

SOLVING QUADRATICS. Copyright - Kramzil Pty Ltd trading as Academic Teacher Resources

SOLVING QUADRATICS. Copyright - Kramzil Pty Ltd trading as Academic Teacher Resources SOLVING QUADRATICS Copyright - Kramzil Pty Ltd trading as Academic Teacher Resources SOLVING QUADRATICS General Form: y a b c Where a, b and c are constants To solve a quadratic equation, the equation

More information

Slopes and Rates of Change

Slopes and Rates of Change Slopes and Rates of Change If a particle is moving in a straight line at a constant velocity, then the graph of the function of distance versus time is as follows s s = f(t) t s s t t = average velocity

More information

Root Finding: Close Methods. Bisection and False Position Dr. Marco A. Arocha Aug, 2014

Root Finding: Close Methods. Bisection and False Position Dr. Marco A. Arocha Aug, 2014 Root Finding: Close Methods Bisection and False Position Dr. Marco A. Arocha Aug, 2014 1 Roots Given function f(x), we seek x values for which f(x)=0 Solution x is the root of the equation or zero of the

More information

MATH section 3.4 Curve Sketching Page 1 of 29

MATH section 3.4 Curve Sketching Page 1 of 29 MATH section. Curve Sketching Page of 9 The step by step procedure below is for regular rational and polynomial functions. If a function contains radical or trigonometric term, then proceed carefully because

More information

This procedure covers the determination of the moment of inertia about the neutral axis.

This procedure covers the determination of the moment of inertia about the neutral axis. 327 Sample Problems Problem 16.1 The moment of inertia about the neutral axis for the T-beam shown is most nearly (A) 36 in 4 (C) 236 in 4 (B) 136 in 4 (D) 736 in 4 This procedure covers the determination

More information

Calculus 1 - Lab ) f(x) = 1 x. 3.8) f(x) = arcsin( x+1., prove the equality cosh 2 x sinh 2 x = 1. Calculus 1 - Lab ) lim. 2.

Calculus 1 - Lab ) f(x) = 1 x. 3.8) f(x) = arcsin( x+1., prove the equality cosh 2 x sinh 2 x = 1. Calculus 1 - Lab ) lim. 2. ) Solve the following inequalities.) ++.) 4 >.) Calculus - Lab { + > + 5 + < +. ) Graph the functions f() =, g() = + +, h() = cos( ), r() = +. ) Find the domain of the following functions.) f() = +.) f()

More information

AP Calculus AB Summer Assignment

AP Calculus AB Summer Assignment AP Calculus AB Summer Assignment Name: When you come back to school, you will be epected to have attempted every problem. These skills are all different tools that you will pull out of your toolbo this

More information

Topic 4b. Open Methods for Root Finding

Topic 4b. Open Methods for Root Finding Course Instructor Dr. Ramond C. Rump Oice: A 337 Phone: (915) 747 6958 E Mail: rcrump@utep.edu Topic 4b Open Methods or Root Finding EE 4386/5301 Computational Methods in EE Outline Open Methods or Root

More information

Excel for Scientists and Engineers Numerical Method s. E. Joseph Billo

Excel for Scientists and Engineers Numerical Method s. E. Joseph Billo Excel for Scientists and Engineers Numerical Method s E. Joseph Billo Detailed Table of Contents Preface Acknowledgments About the Author Chapter 1 Introducing Visual Basic for Applications 1 Chapter

More information

Nonlinear Equations. Chapter The Bisection Method

Nonlinear Equations. Chapter The Bisection Method Chapter 6 Nonlinear Equations Given a nonlinear function f(), a value r such that f(r) = 0, is called a root or a zero of f() For eample, for f() = e 016064, Fig?? gives the set of points satisfying y

More information

UNIT - 2 Unit-02/Lecture-01

UNIT - 2 Unit-02/Lecture-01 UNIT - 2 Unit-02/Lecture-01 Solution of algebraic & transcendental equations by regula falsi method Unit-02/Lecture-01 [RGPV DEC(2013)] [7] Unit-02/Lecture-01 [RGPV JUNE(2014)] [7] Unit-02/Lecture-01 S.NO

More information

SECTION 4-3 Approximating Real Zeros of Polynomials Polynomial and Rational Functions

SECTION 4-3 Approximating Real Zeros of Polynomials Polynomial and Rational Functions Polynomial and Rational Functions 79. P() 9 9 8. P() 6 6 8 7 8 8. The solutions to the equation are all the cube roots of. (A) How many cube roots of are there? (B) is obviously a cube root of ; find all

More information

Math 2412 Activity 2(Due by EOC Feb. 27) Find the quadratic function that satisfies the given conditions. Show your work!

Math 2412 Activity 2(Due by EOC Feb. 27) Find the quadratic function that satisfies the given conditions. Show your work! Math 4 Activity (Due by EOC Feb 7) Find the quadratic function that satisfies the given conditions Show your work! The graph has a verte at 5, and it passes through the point, 0 7 The graph passes through

More information

MATH 175: Final Exam Review for Pre-calculus

MATH 175: Final Exam Review for Pre-calculus MATH 75: Final Eam Review for Pre-calculus In order to prepare for the final eam, you need to be able to work problems involving the following topics:. Can you find and simplify the composition of two

More information

MTH 252 Lab Supplement

MTH 252 Lab Supplement Fall 7 Pilot MTH 5 Lab Supplement Supplemental Material by Austina Fong Contents Antiderivatives... Trigonometric Substitution... Approimate Integrals Technology Lab (Optional)... 4 Error Bound Formulas...

More information

Derivative of a Constant Multiple of a Function Theorem: If f is a differentiable function and if c is a constant, then

Derivative of a Constant Multiple of a Function Theorem: If f is a differentiable function and if c is a constant, then Bob Brown Math 51 Calculus 1 Chapter 3, Section Complete 1 Review of the Limit Definition of the Derivative Write the it efinition of the erivative function: f () Derivative of a Constant Multiple of a

More information

Math 551 Homework Assignment 3 Page 1 of 6

Math 551 Homework Assignment 3 Page 1 of 6 Math 551 Homework Assignment 3 Page 1 of 6 Name and section: ID number: E-mail: 1. Consider Newton s method for finding + α with α > 0 by finding the positive root of f(x) = x 2 α = 0. Assuming that x

More information

abc Mathematics Further Pure General Certificate of Education SPECIMEN UNITS AND MARK SCHEMES

abc Mathematics Further Pure General Certificate of Education SPECIMEN UNITS AND MARK SCHEMES abc General Certificate of Education Mathematics Further Pure SPECIMEN UNITS AND MARK SCHEMES ADVANCED SUBSIDIARY MATHEMATICS (56) ADVANCED SUBSIDIARY PURE MATHEMATICS (566) ADVANCED SUBSIDIARY FURTHER

More information

Chapter 1. Root Finding Methods. 1.1 Bisection method

Chapter 1. Root Finding Methods. 1.1 Bisection method Chapter 1 Root Finding Methods We begin by considering numerical solutions to the problem f(x) = 0 (1.1) Although the problem above is simple to state it is not always easy to solve analytically. This

More information

1 The best of all possible worlds

1 The best of all possible worlds Notes for 2017-03-18 1 The best of all possible worlds Last time, we discussed three methods of solving f(x) = 0: Newton, modified Newton, and bisection. Newton is potentially faster than bisection; bisection

More information

The iteration formula for to find the root of the equation

The iteration formula for to find the root of the equation SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY, COIMBATORE- 10 DEPARTMENT OF SCIENCE AND HUMANITIES SUBJECT: NUMERICAL METHODS & LINEAR PROGRAMMING UNIT II SOLUTIONS OF EQUATION 1. If is continuous in then under

More information

PhysicsAndMathsTutor.com

PhysicsAndMathsTutor.com . f() = 4 cosec 4 +, where is in radians. (a) Show that there is a root α of f () = 0 in the interval [.,.3]. Show that the equation f() = 0 can be written in the form = + sin 4 (c) Use the iterative formula

More information

Solution of Nonlinear Equations

Solution of Nonlinear Equations Solution of Nonlinear Equations (Com S 477/577 Notes) Yan-Bin Jia Sep 14, 017 One of the most frequently occurring problems in scientific work is to find the roots of equations of the form f(x) = 0. (1)

More information

CE 205 Numerical Methods. Some of the analysis methods you have used so far.. Algebra Calculus Differential Equations etc.

CE 205 Numerical Methods. Some of the analysis methods you have used so far.. Algebra Calculus Differential Equations etc. CE 205 Numerical Methods Dr. Charisma Choudhury Lecture 1 March 30, 2009 Objective Some of the analysis methods you have used so far.. Algebra Calculus Differential Equations etc. Often not possible to

More information

Maths A Level Summer Assignment & Transition Work

Maths A Level Summer Assignment & Transition Work Maths A Level Summer Assignment & Transition Work The summer assignment element should take no longer than hours to complete. Your summer assignment for each course must be submitted in the relevant first

More information

Numerical Methods School of Mechanical Engineering Chung-Ang University

Numerical Methods School of Mechanical Engineering Chung-Ang University Part 2 Chapter 5 Roots: Bracketing Methods Prof. Hae-Jin Choi hjchoi@cau.ac.kr 1 Overview of Part 2 l To find the roots of general second order polynomial, the quadratic formula is used b b 2 2 - ± - 4ac

More information

Universidad Carlos III de Madrid

Universidad Carlos III de Madrid Universidad Carlos III de Madrid Eercise 1 2 3 4 5 6 Total Points Department of Economics Mathematics I Final Eam January 22nd 2018 LAST NAME: Eam time: 2 hours. FIRST NAME: ID: DEGREE: GROUP: 1 (1) Consider

More information

Exact Differential Equations. The general solution of the equation is f x, y C. If f has continuous second partials, then M y 2 f

Exact Differential Equations. The general solution of the equation is f x, y C. If f has continuous second partials, then M y 2 f APPENDIX C Additional Topics in Differential Equations APPENDIX C. Eact First-Order Equations Eact Differential Equations Integrating Factors Eact Differential Equations In Chapter 6, ou studied applications

More information

Lecture 7: Indeterminate forms; L Hôpitals rule; Relative rates of growth. If we try to simply substitute x = 1 into the expression, we get

Lecture 7: Indeterminate forms; L Hôpitals rule; Relative rates of growth. If we try to simply substitute x = 1 into the expression, we get Lecture 7: Indeterminate forms; L Hôpitals rule; Relative rates of growth 1. Indeterminate Forms. Eample 1: Consider the it 1 1 1. If we try to simply substitute = 1 into the epression, we get. This is

More information

In #1-5, find the indicated limits. For each one, if it does not exist, tell why not. Show all necessary work.

In #1-5, find the indicated limits. For each one, if it does not exist, tell why not. Show all necessary work. Calculus I Eam File Fall 7 Test # In #-5, find the indicated limits. For each one, if it does not eist, tell why not. Show all necessary work. lim sin.) lim.) 3.) lim 3 3-5 4 cos 4.) lim 5.) lim sin 6.)

More information

AP Calculus AB Summer Assignment

AP Calculus AB Summer Assignment AP Calculus AB Summer Assignment Name: When you come back to school, it is my epectation that you will have this packet completed. You will be way behind at the beginning of the year if you haven t attempted

More information

Lesson #33 Solving Incomplete Quadratics

Lesson #33 Solving Incomplete Quadratics Lesson # Solving Incomplete Quadratics A.A.4 Know and apply the technique of completing the square ~ 1 ~ We can also set up any quadratic to solve it in this way by completing the square, the technique

More information

Section 3.3 Graphs of Polynomial Functions

Section 3.3 Graphs of Polynomial Functions 3.3 Graphs of Polynomial Functions 179 Section 3.3 Graphs of Polynomial Functions In the previous section we eplored the short run behavior of quadratics, a special case of polynomials. In this section

More information

Today s class. Numerical differentiation Roots of equation Bracketing methods. Numerical Methods, Fall 2011 Lecture 4. Prof. Jinbo Bi CSE, UConn

Today s class. Numerical differentiation Roots of equation Bracketing methods. Numerical Methods, Fall 2011 Lecture 4. Prof. Jinbo Bi CSE, UConn Today s class Numerical differentiation Roots of equation Bracketing methods 1 Numerical Differentiation Finite divided difference First forward difference First backward difference Lecture 3 2 Numerical

More information

Math 231 Final Exam Review

Math 231 Final Exam Review Math Final Eam Review Find the equation of the line tangent to the curve 4y y at the point (, ) Find the slope of the normal line to y ) ( e at the point (,) dy Find d if cos( y) y 4 y 4 Find the eact

More information

11.4. Differentiating ProductsandQuotients. Introduction. Prerequisites. Learning Outcomes

11.4. Differentiating ProductsandQuotients. Introduction. Prerequisites. Learning Outcomes Differentiating ProductsandQuotients 11.4 Introduction We have seen, in the first three Sections, how standard functions like n, e a, sin a, cos a, ln a may be differentiated. In this Section we see how

More information

Learning Targets: Standard Form: Quadratic Function. Parabola. Vertex Max/Min. x-coordinate of vertex Axis of symmetry. y-intercept.

Learning Targets: Standard Form: Quadratic Function. Parabola. Vertex Max/Min. x-coordinate of vertex Axis of symmetry. y-intercept. Name: Hour: Algebra A Lesson:.1 Graphing Quadratic Functions Learning Targets: Term Picture/Formula In your own words: Quadratic Function Standard Form: Parabola Verte Ma/Min -coordinate of verte Ais of

More information

Chapter 4. Solution of Non-linear Equation. Module No. 1. Newton s Method to Solve Transcendental Equation

Chapter 4. Solution of Non-linear Equation. Module No. 1. Newton s Method to Solve Transcendental Equation Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Mathematics National Institute of Technology Durgapur Durgapur-713209 email: anita.buie@gmail.com 1 . Chapter 4 Solution of Non-linear

More information

AP Calculus Review Assignment Answer Sheet 1. Name: Date: Per. Harton Spring Break Packet 2015

AP Calculus Review Assignment Answer Sheet 1. Name: Date: Per. Harton Spring Break Packet 2015 AP Calculus Review Assignment Answer Sheet 1 Name: Date: Per. Harton Spring Break Packet 015 This is an AP Calc Review packet. As we get closer to the eam, it is time to start reviewing old concepts. Use

More information

4.3 Worksheet - Derivatives of Inverse Functions

4.3 Worksheet - Derivatives of Inverse Functions AP Calculus 3.8 Worksheet 4.3 Worksheet - Derivatives of Inverse Functions All work must be shown in this course for full credit. Unsupported answers ma receive NO credit.. What are the following derivatives

More information