Professional Documents
Culture Documents
x 2 1.6 f x 2 c f x 2 , x 3 e
x 3 2. 0 f x 3
0.693
(b) Estimate the value of f (1.5) using the Newton’s divided-difference method.
(9 marks)
Q2
A glass ball is used in an experiment to determine the drag force of rubber mat. When the
glass ball rolls down from the ramp, the reading of displacement, d, is taken as shown in the
Table Q2 below.
Table Q2
d (m) 1 1.02 1.11 1.19 1.22 1.24
t (s) 1.3 1.5 1.7 1.9 2.0 2.1
Q4 Find the smallest eigenvalue for the matrix A below using inverse power method with
v (0 ) 0 1 0 T .
4 2 0
A 1 4 2
0 1 4
(12 marks)
FORMULA
Pn ( x ) f 0[0 ] f 0[1] ( x x0 ) f 0[ 2] ( x x0 )( x x1 ) f 0[ n ] ( x x0 )( x x1 ) ( x x n 1 )
Numerical differentiation:
f ( x h) f ( x h)
3-point central difference: f ( x)
2h
f ( x 2h ) 8 f ( x h ) 8 f ( x h) f ( x 2h )
5-point difference: f ( x)
12 h
f ( x h) 2 f ( x) f ( x h)
3-point central difference: f ( x)
h2
f ( x 2h) 16 f ( x h ) 30 f ( x) 16 f ( x h) f ( x 2h)
5-point difference: f ( x)
12 h 2
3 points Gauss Quadrature:
b (b a )t (b a )
for a f ( x)dx, x
2
5 3 8 5 3
g 0 g
1
1
f ( x) dx g
9 5 9
9 5