Skip to main content

BISECTION METHOD (BOLZANO METHOD) / what is BISECTION METHOD (BOLZANO METHOD)

 

Explain BISECTION METHOD (BOLZANO METHOD).  Engineering maths

The method is applicable for numerically solving the equation f(x) = 0 for the real variable x, where f is a continuous function defined on an interval [ab] and where f(a) and f(b) have opposite signs. In this case a and b are said to bracket a root since, by the intermediate value theorem, the continuous function f must have at least one root in the interval (ab).



At each step the method divides the interval in two by computing the midpoint c = (a+b) / 2 of the interval and the value of the function f(c) at that point. Unless c is itself a root (which is very unlikely, but possible) there are now only two possibilities: either f(a) and f(c) have opposite signs and bracket a root, or f(c) and f(b) have opposite signs and bracket a root.[5] The method selects the subinterval that is guaranteed to be a bracket as the new interval to be used in the next step. In this way an interval that contains a zero of f is reduced in width by 50% at each step. The process is continued until the interval is sufficiently small.

Explicitly, if f(a) and f(c) have opposite signs, then the method sets c as the new value for b, and if f(b) and f(c) have opposite signs then the method sets c as the new a. (If f(c)=0 then c may be taken as the solution and the process stops.) In both cases, the new f(a) and f(b) have opposite signs, so the method is applicable to this smaller interval.[6]

Iteration tasksEdit

The input for the method is a continuous function f, an interval [ab], and the function values f(a) and f(b). The function values are of opposite sign (there is at least one zero crossing within the interval). Each iteration performs these steps:

  1. Calculate c, the midpoint of the interval, c = b/2.
  2. Calculate the function value at the midpoint, f(c).
  3. If convergence is satisfactory (that is, c - a is sufficiently small, or |f(c)| is sufficiently small), return c and stop iterating.
  4. Examine the sign of f(c) and replace either (af(a)) or (bf(b)) with (cf(c)) so that there is a zero crossing within the new interval.

When implementing the method on a computer, there can be problems with finite precision, so there are often additional convergence tests or limits to the number of iterations. Although f is continuous, finite precision may preclude a function value ever being zero. For example, consider f(x) = x − π; there will never be a finite representation of x that gives zero. Additionally, the difference between a and b is limited by the floating point precision; i.e., as the difference between a and b decreases, at some point the midpoint of [ab] will be numerically identical to (within floating point precision of) either a or b..

AlgorithmEdit

The method may be written in pseudocode as follows:[7]

INPUT: Function f, 
       endpoint values a, b, 
       tolerance TOL, 
       maximum iterations NMAX
CONDITIONS: a < b, 
            either f(a) < 0 and f(b) > 0 or f(a) > 0 and f(b) < 0
OUTPUT: value which differs from a root of f(x) = 0 by less than TOL
 
N ← 1
while NNMAX do // limit iterations to prevent infinite loop
    c ← (a + b)/2 // new midpoint
    if f(c) = 0 or (ba)/2 < TOL then // solution found
        Output(c)
        Stop
    end if
    NN + 1 // increment step counter
    if sign(f(c)) = sign(f(a)) then ac else bc // new interval
end while
Output("Method failed.") // max number of steps exceeded

Comments

Popular posts from this blog

Gtu sem 5th python programming ( 3151108 ) question paper download

Python programming (3151108)exam questions paper summer 2022. Gtu python programming paper download. plication (MCA) , PDDC , Diploma Of pharmacy (D.pharm) , Diploma engineering. While you searched for download GTU B.E. CIVIL SEM 5 3151108 Python Programming gtupaper.in past exam papers.You might have gone to other sites on the internet along with the official gtu site i.e. gtu.ac.in but you must be confused there with your download GTU B.E. CIVIL SEM 5 3151108 Python Programming gtupaper.in past exam papers. AS you dont know the subject code of GTU B.E. CIVIL SEM 5 3151108 Python Programming gtupaper.in .That`s what we were filling lack of. So we created sudybudyy.in   Hey students, simply long press on image to download , you get download image option.   Here, on gtupaper.in You don`t need to remember your GTU B.E. CIVIL SEM 5 3151108 Python Programming gtupaper.in subject code.You just select your branch from be , bpharm , mba , mca , dpharm , mpharm , pddc , me and diploma...

what is Integration in maths

  Integration in Mathematics Integration is a fundamental concept in calculus that represents the accumulation of quantities. It is the reverse process of differentiation and is used to find areas, volumes, central points, and many other useful things. 1. Why is Integration Important? Finds Area under curves. Calculates Volume in 3D spaces. Solves Differential Equations in physics and engineering. Used in Probability & Statistics for continuous distributions. 2. Types of Integration 1️⃣ Indefinite Integral (Without Limits) Represents the antiderivative of a function. Formula: ∫ f ( x ) d x = F ( x ) + C \int f(x) dx = F(x) + C where C C is the constant of integration. Example: ∫ x 2 d x = x 3 3 + C \int x^2 dx = \frac{x^3}{3} + C 2️⃣ Definite Integral (With Limits) Computes a numerical value over an interval [ a , b ] [a, b] . Formula: ∫ a b f ( x ) d x = F ( b ) − F ( a ) \int_{a}^{b} f(x) dx = F(b) - F(a) Example: ∫ 0 3 x 2 d x = [ x 3 3 ...

What is unit vector :- explain unit vector

Electromagnetic fields Unit vector- A unit vector has a function to indicate the direction. Its magnitude is always unity, irrespective of the direction which it indicates and the co-ordinate system under consideration. Thus for any vector, to indicate its direction a unit vector can be used. Consider a unit vector āoA in the direction of OA as shown in o the Fig. This vector indicates the direction of OA but its magnitude is unity. Fig Unit vector aOA So vector OA can be represented completely as its magnitude R and the direction indicated by unit vector along its direction. ŌĀ = |OA| āOA =R āOA āOA=1