Skip to content

wise-saint/Bisection_Method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bisection_Method

This is an iteration method based on Intermediate Value Theorem.

The bisection method is a root-finding method that applies to any continuous functions for which one knows two values with opposite signs. The method consists of repeatedly bisecting the interval defined by these values and then selecting the subinterval in which the function changes sign, and therefore must contain a root. It is a very simple and robust method, but it is also relatively slow. Because of this, it is often used to obtain a rough approximation to a solution which is then used as a starting point for more rapidly converging methods.

Screenshot (525)

Now, let ak and bk be the kth iterations then

mk+1 = ak + 1/2(bk - ak), k = 0,1,2...

(ak+1, bk+1) = (ak, mk+1) if f(ak)*f(mk+1) < 0

(ak+1, bk+1) = (mk+1, bk) if f(bk)*f(mk+1) < 0

Releases

No releases published

Packages

No packages published

Languages