Minor Project Bisection Method
Minor Project Bisection Method
N M
Project Title:
The working of the bisection method algorithm for a given function f(x):
Step 1:
Choose two values, a and b such that f(a)>0 and f(b) < 0.
Step 2:
Calculate a midpoint c as the arithmetic mean between a and b such that c (a+b)/2. This is called
interval halving.
Step 3:
valuate the function f for the value of c.
Step 4:
The root of the function is found only if the value of f(c) = 0.
Step 5:
If (c) # 0, then we need to check the sign: we replace a with c if fc) has the same sign as f(a) and we
kaep.the same value for b we replace b withc if flc) has the same sign as fb), and we keep the same
value for a To get the right value with the new value of a or b, we go back to step 2 And recalculateC.
The bracketing approach is known as the bisection method, and it is always convergent. Errors can be
managed. Increasing the number of iterations in the bisection method always results in a more accurate
root.
Key Words: finding real root of non-linear equations, teamwork, implementation of code.
7. Scope of work
This method is used to find the root of an equation in each interval that value of x for which
f(x)=0.
8. Resources needed for the project: including pcople, hardware, software, etc.
Hardware requirements: laptop or pe
Software requirements: C++ compiler
9 Background of previous work done in the chosen area
10. Methodology
Using C++ compiler, we must write code to perform the operation
Of bisection Method.
M
Date 28/05/2022 lo1
(Signature of Supervisor)