Bisection Method Pseudocode

Table of Contents

Bisection method is simple, reliable & convergence guaranteed method for finding roots. This article covers pseudocode for bisection method for finding real root of non-linear equations.

Pseudocode for Bisection Method

1. Start

2. Define function f(x)

3. Input 
	a. Lower and Upper guesses x0 and x1
	b. tolerable error e
	
4. If f(x0)*f(x1) > 0
	print "Incorrect initial guesses"
   	goto 3
   End If

5. Do 
	x2 = (x0+x1)/2
	
	If f(x0)*f(x2) < 0
		x1 = x2
	Else
		x0 = x2
	End If
		
   while abs(f(x2) > e
   
6. Print root as x2

7. Stop
  1. Bisection Method Algorithm
  2. Bisection Method Pseudocode
  3. Python Program for Bisection Method
  4. C Program for Bisection Method
  5. C++ Program for Bisection Method
  6. MATLAB Program for Bisection Method
  7. Bisection Method Advantages
  8. Bisection Method Disadvantages
  9. Bisection Method Features
  10. Convergence of Bisection Method
  11. Bisection Method Online Calculator