Ch2 THQ All Methods
Ch2 THQ All Methods
Ch2 THQ All Methods
1) Using Excel software, set-up table for x & f(x) values with step size = 0.4
x f(x)
0.4
Determine the root of f(x)=2x3 - 11.7x2 + 17.7x – 5 using bisection method (xl=2, xu=4). Use at least four
decimal places.
1st iteration
Calculate f(xl) =
Calculate f(xu) =
Calculate f(xl)f(xu) =
Calculate xr =
2nd iteration
xl =
xu =
Calculate xr =
Calculate εa =
3rd iteration
xl =
xu =
Calculate xr =
Calculate εa =
root is ___________________________________
2.0000 4.0000 -
FALSE-POSITION METHOD
Determine the root of f(x)=2x3 - 11.7x2 + 17.7x – 5 using false-position method (xl=2, xu=4). Use at least four
decimal places.
1st iteration
Calculate f(xl) =
Calculate f(xu) =
Calculate f(xl)f(xu) =
Calculate xr =
2nd iteration
xl =
xu =
Calculate xr =
Calculate εa =
3rd iteration
xl =
xu =
Calculate xr =
Calculate εa =
root is ___________________________________
Determine the root of f(x)=2x3 - 11.7x2 + 17.7x – 5 using fixed point iteration method (x0=4)
x=
At x0=4 calculate
x1 =
i x εa %
0 4
roots is ___________________________________
NEWTON-RAPHSON METHOD
Determine the root of f(x) = 2x3 - 11.7x2 + 17.7x – 5 using Newton-Raphson method (x0=4). Use at least six
decimal places.
Determine f'(x) =
At x0=4,
Calculate f(x0) =
Calculate f'(x0) =
Calculate x1 =
Calculate εa =
At x1=
Calculate f(x1) =
Calculate f'(x1) =
Calculate x2 =
0 4 -
Root is ___________________________________
SECANT METHOD
Determine the root of f(x) = 2x3 - 11.7x2 + 17.7x - 5 using secant method (x-1 = 2, x0 = 2.5). Use at least six
decimal places.
Calculate f(x-1) =
Calculate f(x0) =
Calculate x1 =
Calculate εa =
Calculate f(x1) =
Calculate x2 =
Calculate εa =
0 2 2.5 -
Root is ___________________________________