Secant
Method [Super-linear convergence]
1. Decide two initial points x1
and x2, and accuracy level E.
2. Compute f(x1) and f(x2)
3. Compute improved value x3
with the help of x1 an x2,
i.e.
x3 = x2 - ( ( f(x2) (x2-x1) ) / ( f(x2)
- f(x1) ) )
4. Checking the accuracy level of
improved estimation i.e. x3.
If
absolute value of (x3 – x2) / x3 < E
Write improved estimation or x3
as the root of the equation and go to 5.
Otherwise
Set x1 = x2
and f(x1) = f(x2)
Set x2 = x3
and f(x2) = f(x3)
Go to step 3
5. Stop
Example:
Use the secant method to estimate the root of the equation x2-4x-10 = 0 with the initial estimates of x1 = 4 and x2 =
2.
Soln: Given f(x)
= x2-4x-10 = 0
Step 1: Initial points x1 = 4 and x2
= 2, and Accuracy level E = 0.01
Step 2: Computing f(x1)
and f(x2),
f(x1) = 42- 4*4 – 10 = -10
f(x2) = 22 –
4*2 – 10 = -14
Step 3: Iteration
I:
Computing improves root x3,
x3
= x2 - ( (
f(x2) (x2-x1) )
/ ( f(x2) - f(x1) ) ) = 2 - ( ( ( -14 ) ( 2 – 4
) ) / ( (
-14 ) - ( -10 ) ) )
= 2-(28 / (-4)) = 9
Step 4: Checking accuracy level,
Absolute
value of (x3 – x2) / x3 < E
(x3
– x2) / x3 = (9-2) / 9 = 7/9 = 0.7778
Here 0.7778 < 0.01 is false
Error criteria are not satisfied.
So,
Set x1 = x2 =
2 and f(x1) = f(x2) = -14
Set x2 = x3 =
9 and f(x2) = f(x3) = f(9) = 92 - 4*9 – 10 = 35
Go to step 3
Iteration II:
Calculating improved estimation of x3, using
x3
= x2 - ( (
f(x2) (x2-x1) )
/ ( f(x2) - f(x1) ) ) = …
Repeat the iterations until error
criteria satisfied.
If error criteria is satisfied then,
Write improved estimation x3 as the root of the
equation and stop.
MGM Grand Casino at Maricopa - MapyRO
ReplyDeleteSearch results 남양주 출장마사지 for MGM Grand Casino at Maricopa, AZ in Maricopa, 여주 출장샵 AZ. Find reviews, hours, 강원도 출장샵 directions, 대구광역 출장마사지 and more for 보령 출장마사지 MGM Grand Casino at