Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Numerical Analysis I MATH/CMPSC 455 Bisection Method.

Similar presentations


Presentation on theme: "Introduction to Numerical Analysis I MATH/CMPSC 455 Bisection Method."— Presentation transcript:

1 Introduction to Numerical Analysis I MATH/CMPSC 455 Bisection Method

2 S OLVING N ONLINEAR E QUATIONS General Mathematical Problem: Given a function, find the values of for which Existence of root: Let be a continuous function on, satisfying. Then has a root between and, that is, there exists a number satisfying and

3 T HE B ISECTION M ETHOD Basic Idea: Narrow down the interval by halving Start f(a)f(b)<0 c=(a+b)/2 b=c f(a)f(c)<0 |a-b|<tol output (a+b)/2 and stop a=c Yes No

4 Example: Find a root of the function on the interval

5 E RROR A NALYSIS Theorem (Error Analysis of Bisection Method): If denote the intervals obtained by the Bisection method, then the limits and exist, equal and represent a zero (root) of. If and, then

6 Example: How many steps is needed, if we use Bisection Method to find a root of in the interval, and require the solution is correct with 6 decimal places? Example: Suppose that the bisection method is started with the interval, how many steps should be taken to compute a root that the relative error is less than.

7 P RACTICAL C ONSIDERATIONS


Download ppt "Introduction to Numerical Analysis I MATH/CMPSC 455 Bisection Method."

Similar presentations


Ads by Google