1 Intro BisectionMethod PDF
1 Intro BisectionMethod PDF
(1)
1
Many problems in Science and Engineering are expressed as:
2
Bisection Method
1. Bisection method is the simplest bracketing method.
The lower value, 𝑥𝑙 and the upper value, 𝑥𝑢 which bracket the
root(s) are required.
2. The procedure starts by finding the interval [𝑥𝑙, 𝑥𝑢] where the
solution exists.
3. As shown below at least one root exist in the interval
[𝑥𝑙, 𝑥𝑢] if
4. It is also called: Interval Halving method.
3
Step 4: Calculate the approximate percent relative error:
Step 5: Compare with. If 𝜀𝑎 < 𝜀𝑠, then stop the computation. Otherwise
go to Step 2 and repeat the process by using the new interval.
Note:
… التشابه. a
… االختالف. b
4
𝜀𝑎: Relative approximate error
𝜀𝑠: True percent relative error "acceptance error".
Solution
Solution
5
Best Estimate and Error Level: Bisection method obtains an
interval that is guaranteed to contain a zero of the function.
Stopping Criteria:
Convergence Analysis:
Example:
𝜀𝑠 = 5%
6
Solution
C = (a + b) / 2 = (5+10) / 2 = 7.5
C = (a + b) / 2 = (5+7.5) / 2 = 6.25
7
Example:
Solution
C = (a + b) / 2 = (0+1) / 2 = 0.5
8
Example:
Solution
Note: e = 2.718
C = (a + b) / 2 = (0+1) / 2 = 0.5
9
The False-Position Method
10
Example:
Solution
. .. ….
11