L #3 Open Methods
Amil Ahmad Ilham
Open Method
Bracketing methods:
The root is located within an interval prescribed by a lower and
an upper bound.
Repeated application of these methods always results in closer
estimates of the true value of the root. Such methods are said
to be convergent because they move closer to the truth as the
computation progresses .
Open methods:
are based on formulas that require only a single starting value of
x or two starting values that do not necessarily bracket the root.
they sometimes diverge or move away from the true root as the
computation progresses.
When the open methods converge, they usually do so much
more quickly than the bracketing methods.
2
xi+1 = g(xi)
2
xi + 3
xi +1 =
2
5
x=e
x i +1 = e xi
=>
7
10
11
12
Group Assignment #2
1. Determine the highest real root of
13
Group Assignment #2
2. Determine the root of the following function,
f(x) = 5 5x e0.5x
Perform iterations until a < 2%.
a. Use a bracketing method (Bisection), use
initial guesses of xl = 0 and xu = 2.
b. Use the Newton-Raphson, use an initial
guess of xi = 0.7.
c. Use the secant method, use initial guesses of
xi1 = 0 and xi = 2.
14
Group Assignment #2
Solve problem no. 1 manually.
Develop a user-friendly program to solve
problem no. 1 and no. 2.
Prepare for demo!
Work in pairs (1 group = 2 members)
15