Vous êtes sur la page 1sur 13

| 

| 

||||  | 

[1] ROOTS OF EQUATIONS

[2] LINEAR & NON-LINEAR ALGEBRAIC EQUATIONS

[3] OPTIMIZATION

[4] CURVE FITTINGS

[5] NUMERICAL DIFFERENTIATION & INTEGRATION

[6] ORDINARY DIFFERENTIAL EQUATIONS (ODE)

[7] PARTIAL DIFFERENTIAL EQUATIONS (PDE)


Ò
| 


[1] COMPLEXITIES & DIFFICULTIES IN ANALYTICAL SOLUTION


(extremely powerful problem solving tools)

[2] MATHEMATICAL MODELLING


(reinforcing tools to understand mathematics)

[3] SCIENTIFIC COMPUTATION


(SIMULATIONS & VISUALIZATIONS)
(efficient tool for learning to use computers)
     |

[1] BRACKETING METHODS


Graphical Method (Manual or Computer Aided)
Bisection Method
Linear Interpolation

[2] OPEN METHODS


Simple Fixed-Point Iteration
The Newton-Raphson Method
The Secant Method

[3] ROOTS OF POLYNOMIALS


Müller¶s Method
Bairstow¶s Method
O   |

O   |

 

The function changes its sign at two opposite points around the root.

If lower and upper limits of an interval are a and b respectively,


then we can initially locate the root of the equation when

f (a) . f (b) < 0

The existence of a root within this interval is proven by the


m m   
  in calculus.

The location of the root can be approximated by halving this


interval;
i.e. the approximate location of the root is given by

 
 
i
O   |


  


STEP 1

Choose lower limit, a and upper limit, b by guessing


them for the root such that the function changes sign
over the interval.

This can be checked by ensuring that f (a) . f (b) < 0.

STEP 2

An estimate of root is given by

 
 
i
O   |


  


STEP 3 (The Rule)

[1] If f (a) . f (r) < 0, then the root lies near to the
lower subinterval.
Therefore set r = b and return to step 2 for next
iteration.

[2] Else if f (a) . f (r) > 0, then the root lies near to
the upper subinterval.
Therefore set r = a and return to step 2 for next iteration.

[3] Else if f (a) . f (r) = 0, then r is the root.


Therefore computation terminates.
EXAMPLE

Find the positive root correct to 5 decimal places for


f (x) = x2 ± 3 using Bisection Method by carrying out
10 iterations.

SOLUTION

For a simple function given as this example, we may consider


algebraic manipulation to calculate the root(s) of the equation.

Alternatively, we may sketch the graph to locate the root(s) of


the equation.

We know that if f (x) = x2 ± 3 = 0, then (x ± ¥3) (x + ¥3) = 0.

Therefore, x =  ¥3 =  1.7321«.
Since we are required to find the root by applying the
Bisection method, thus, we may choose the lower and
upper limit as follows:

a=1 f (a) = - 2
b=3 f (b) = 6

Therefore, f (a) . f (b) = - 12 < 0 satisfies the condition


in step 1.

Continuing the steps 2 and 3 will results the following data table.
O   |


 O

i a b r f (a) f (b) f (r) f (a) . f (r)


1
2
3
4
5
6
7
8
9
10
i a b 4 f (a) f (b) f (r) f (a) . f (r)
1 1.00000 3.00000 2.00000 -2.00000 6.00000 1.00000 -2.00000
(-ve test)
2 1.00000 2.00000 1.50000 -2.00000 1.00000 -0.75000 1.50000
(+ve test)
3 1.50000 2.00000 1.75000 -0.75000 1.00000 0.06250 -0.04688
(-ve test)
4 1.50000 1.75000 1.62500 -0.75000 -0.68250 -0.35938 0.26953
(+ve test)
5 1.62500 1.75000 1.68750 -0.35938 0.06250 -0.15234 0.05475
(+ve test)
6 1.68750 1.75000 1.71875 -0.15234 0.06250 -0.04590 0.00699
(+ve test)
7 1.71875 1.75000 1.73438 -0.04590 0.06250 -0.00806 -0.00037
(-ve test)
8 1.71875 1.73438 1.72656 -0.04590 0.00807 -0.01897 0.00087
(+ve test)
9 1.72656 1.73438 1.73047 -0.01899 0.00807 -0.00542 0.00010
(+ve test)
10 1.73047 1.73438 1.73243 -0.00547 0.00807 -0.00130 -0.00001
(almost zero!)

Vous aimerez peut-être aussi