You are on page 1of 5

UNIVERSITI TEKNOLOGI MARA

TEST 2
COURSE :
NUMERICAL METHODS AND OPTIMIZATION
COURSE CODE : CHE555
EXAMINATION : 08 APRIL 2011
TIME : 2 HOURS
INSTRUCTIONS TO CANDIDATES
1. This question paper consists of Three (3) questions.
2. Answer ALL questions in the Answer Booklet. Start each answer on a new
page.
Ques!"# 1
$PO2% CO2% C&'
Viscosit is the propert to !easure the resistance of the flui"s na!el liqui"s an" gases.
#n"erstan"ing the effect of te!perature on the $iscosit of the flui" is $er i!portant. %n
engines the lu&ricating oil is heate" to $er high te!peratures an" it is $ital to know whether
the lu&ricating oil' will &e $iscous enough to lu&ricate the !o$ing parts of the engine at those
high te!peratures.
The following "ata shows the relationship &etween the $iscosit of SA( )* oil an"
te!perature. After taking the logarith! for these "ata' fit a first or"er linear regression !o"el
to represent $iscosit as a function of te!perature an" esti!ate coefficient of "eter!ination.
(2* !arks)
Te()e*+u*e% ,C V!s-"s!.% N/s0(
2
3* 1.+
,* *.*,
1-* *.*12
3** *.***.
Ques!"# 2
$PO2% CO2% C&'
a) The total !ass of a $aria&le "ensit ro" is gi$en &

=
L
c
dx x A x m
0
) ( ) (
where !/!ass' (0)/"ensit' Ac(0)/cross1sectional area' 0/"istance along the ro" an"
L/the total length of the ro". The following "ata has &een !easure" for a 31! length of
ro". 2eter!ine the !ass in kilogra!s using Si!pson3s 34. for!ula.
0' c! * 1** 2** 3**
'kg4!
3
+.** 3.,. 3..- 3.+1
Ac'!
2
1*.* 1*.2 1*.+ 1*.-
(- !arks)
&) i) State the "ifference &etween forwar"' &ackwar" an" centere" finite "i$i"e" "ifference
for!ula.
(3 !arks)
ii) A 5et fighter3s position on an aircraft carrier3s runwa was ti!e" "uring lan"ing an" the
recor"e"
ti!e with respect to 0' the "istance fro! the en" of the carrier was gi$en as &elow6
t's * *.-2 1.*+ 1.)- 2.3) 3.2- 3..3
0'! 1-3 1.- 21* 2+, 271 2)1 2)3
(sti!ate the $elocit ("04"t) of the 5et for each ti!e recor"e"' e0clu"ing the en" point'
using the !ost appropriate finite "i$i"e" "ifference for!ula that gi$es the highest
accurac.
(7 marks)
Ques!"# &
a) Show graphicall the "ifference &etween (uler3s !etho" an" 8eun3s !etho".
(3 !arks)
&) Sol$e nu!ericall the te!perature of the !ass' T o$er the ti!e perio" * 9 t 9 1 !in
with h / *.2- !in. :our answer shoul" &e correcte" to 2 "eci!al places. #se6
i) (uler3s !etho"
(- !arks)
ii) 8eun3s !etho"
() !arks)
APPENDIX
Use1u2 1"*(u2+e
h
x f x f
x f
h
x f x f
x f
h
x f x f
x f
i i
i i
i i
2
) ( ) (
) ( '
) ( ) (
) ( '
) ( ) (
) ( '
1 1
1
1
+

=
( )
x a y a
x x n
y x y x n
a
i i
i i i i
1 0
2
2
1
=

=



= =
= =
n
i
i i
n
i
i r
y y e S
1
2
1
2
) model , measured , (

=
2
) ( y y S
i t
t
r t
S
S S
r

=
2
n
x f x f x f
a b I
n
n
i
i
2
) ( ) ( 2 ) (
) (
1
1
0
+ +
=

=
n
x f x f x f x f
a b I
n
i
n
j
n j i
3
) ( ) ( 2 ) ( 4 ) (
) (
1
5 , 3 , 1
2
6 , 4 , 2
0

=
+ + +
=
8
) ( ) ( 3 ) ( 3 ) (
) (
3 2 1 0
x f x f x f x f
a b I
+ + +
=

You might also like