You are on page 1of 2

FACULTY OF APPLIED SCIENCES AND TECHNOLOGY

SEMESTER II SESSION 2018/2019

BWA21303 / BWA20903 TEST 2 (10%) DURATION : 75 minutes

Answer ALL questions below. Do all calculations in 3 decimal places.

Q1 Given Table Q1 below is a divided-difference table.


(a) Determine a, b, c, d, e and f .
Table Q1
x0  1.0 f x 0   a f x0 , x1   0.84 f x0 , x1 , x 2   f f x0 , x1 , x 2 , x3  
0.096
x1  1.4 f x1   b f x1 , x 2   d f x1 , x 2 , x3   0.187

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

By using both 3-point central and 5-point difference formula, find


(a) the velocity of the glass ball at t = 1.7s, and
(b) the acceleration of the glass ball at t = 1.7s.
What can you conclude from the result? Is the rubber mat able to decrease the motion of the
glass ball?
(10 marks)
Q3 Find the approximate value for
1
 0 2 4e
1.5 x
sin 2x dx

using 3-point Gauss quadrature method.


(9 marks)

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)

************************************ ALL THE BEST! *************************************

FORMULA

Newton divided difference method

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 

Inverse Power Method:


A 1 v ( k )
v ( k 1)  , k  0,1,2,...
mk 1
v n  v inverse  v ( k 1)

You might also like