0% found this document useful (0 votes)
11 views6 pages

Ch2 THQ All Methods

This document describes and provides examples of using graphical method, bisection method, false-position method, fixed point iteration method, Newton-Raphson method, and secant method to determine the roots of equations. Steps and calculations are provided for each method.

Uploaded by

shafiq 12
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views6 pages

Ch2 THQ All Methods

This document describes and provides examples of using graphical method, bisection method, false-position method, fixed point iteration method, Newton-Raphson method, and secant method to determine the roots of equations. Steps and calculations are provided for each method.

Uploaded by

shafiq 12
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

GRAPHICAL METHOD

Determine the root of f(x)=2x3-11.7x2+17.7x-5 using graphical method (xl=0, xu=4)

1) Using Excel software, set-up table for x & f(x) values with step size = 0.4

x f(x)

0.4

2) Draw the graph using the software


3) From the graph, roots are ___________, _____________ and ___________
BISECTION METHOD

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 =

Calculate f(xl)f(xr) = to determine xl & xu for 2nd iteration

2nd iteration

xl =

xu =

Calculate xr =

Calculate εa =

Calculate f(xl)f(xr) = to determine xl & xu for 3rd iteration

3rd iteration

xl =

xu =

Calculate xr =

Calculate εa =

root is ___________________________________

Put the data from calculation in table

xl xu xr f(xl) f(xr) f(xl)f(xr) εa (%)

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 =

Calculate f(xl)f(xr) = to determine xl & xu for 2nd iteration

2nd iteration

xl =

xu =

Calculate xr =

Calculate εa =

Calculate f(xl)f(xr) = to determine xl & xu for 3rd iteration

3rd iteration

xl =

xu =

Calculate xr =

Calculate εa =

root is ___________________________________

Put the data from calculation in table

xl xu xr f(xl) f(xr) f(xl)f(xr) εa (%)


2.0000 4.0000 -
FIXED POINT ITERATION

Determine the root of f(x)=2x3 - 11.7x2 + 17.7x – 5 using fixed point iteration method (x0=4)

When f(x) = 0 , transform equation to

x=

At x0=4 calculate

x1 =

Continue calculation to fill up the following table

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 =

Continue calculation to fill up the following table

Iteration xi f(xi) f'(xi) εa

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.

First iteration, at x-1 = 2 & x0 = 2.5,

Calculate f(x-1) =

Calculate f(x0) =

Calculate x1 =

Calculate εa =

Second iteration, at x0 = 2.5 & x1 =

Calculate f(x1) =

Calculate x2 =

Calculate εa =

Continue calculation to fill up the following table

Iteration xi-1 f(xi-1) xi f(xi) εa

0 2 2.5 -

Root is ___________________________________

You might also like