Understanding
Remembering
Topic
Question No. Marks
Evaluating
Analysing
(Based on Question Block)
Applying
Creating
TOTAL
CHAPTER 1: Introduction of Numericals Methods
1 25 5 10 10 25
35 90
Approved by:
Date:
UniKL
UN
NIVERS
SITIKUA
ALALUMPUR Doc. No: MIMET/AS
SD/
PEX01-F-0
04
Ma
alaysianInstituteofM
MarineEng
gineering
Revision
Tecchnology(MMIMET) 00
No:
Effective
EXA
AMINATIO
ON PAPE
ER MODE
ERATION Date:
01/12/2010
0
CHECKL
LIST
Page No: 1 of 3
EXAMINATTION PAPER M
MODERATION CHECK LIST
L
Course Name
N : NUME
ERICAL METH
HODS
Course Code
C : LGB20
0103
Semesterr/Session : 2/JAN
N 2012
Section : ASAT
Set No. : A
Date : 9/3/2012
Revision No.
N : 0
Notes:
Moderator shall use the
t latest co
ourse outline and Guidelines Preparin
ng Examinattion Question
ns
for refere
ence.
Questions Constructio
ons Y/N Comment
e the questio
Are ons of an acceptable
c. standard when n compared to the Y
applicable Tabble of Specifiication?
Are
e the marks allocated
a fo
or each
d. Y
que
estion appro
opriate?
Are
e the questio
ons prepared
d in
acccordance with
w the Guid delines in
e. Y
Pre
eparing and Marking Exaamination
Quuestions?
Aree types of qu
uestions used
d acceptable
f. in assessing
a students speciific skills (whe
ere Y
applicable)?
Aree types of qu
uestions used d acceptable
g. in assessing
a students critica
al thinking Y
(whhere applica able)?
UniKL
UN
NIVERS
SITIKUA
ALALUMPUR Doc. No: MIMET/AS
SD/
PEX01-F-0
04
Ma
alaysianInstituteofM
MarineEng
gineering
Revision
Tecchnology(MMIMET) 00
No:
Effective
EXA
AMINATIO
ON PAPE
ER MODE
ERATION Date:
01/12/2010
0
CHECKL
LIST
Page No: 2 of 3
e the questio
Are ons clear and
d
j. Y
una
ambiguous? ?
e the questio
Are ons arranged
d in proper
k. Y
ord
der of difficulty?
Are
e the questio
ons constructed with
corrrect gramm
mar, free from
m
l. Y
typ
pographical error, releva
ant and with
up--to-date phrrase/term?
e examinatio
Are on instruction
ns clearly
b. Y
stated?
Answer Scheme
S Y/N Comment
b. Are
e the provide
ed solutions correct? Y
Effective
EXA
AMINATIO
ON PAPE
ER MODE
ERATION Date:
01/12/2010
0
CHECKL
LIST
Page No: 3 of 3
Additiona
al commentt
a. Approved
b. Approved with
h amendmen
nts
c. Rejjected (plea
ase refer com
mments)
Panel Na
ames
a. MR
R. ZULZAMRI BIN
B SALLEH
c.
Chairpersson
Signature :
Name :
Date :
C
CONFIDE NTIAL
F
FINAL EX
XAMINA
ATION
JAN
NUARY 2012 SE
ESSION
LEVEL : LOR
BACHEL
TIME / DURATION :
DATE :
INST
TRUCTION
NS TO CAN
NDIDATES
1. Pleas
se read the instructions
i s given in th
he question
n paper CAR
REFULLY.
2. This question
q pa
aper is printted on both
h sides of th
he paper.
3. Pleas
se write you
ur answers on
o the answ
wer booklett provided.
5. Answ
wer FOUR (4
4) questions
s only.
6. Answ
wer all questtions in Eng
glish.
THER
RE ARE 7 PA
AGES OF QU
UESTIONS, IN
NCLUDING T
THIS PAGE.
JANUARY 2012 CONFIDENTIAL
Question 1
(a) Convert the Computer Numbering system:
(16 marks)
(b) Determine the Approximation value of the function Taylors Series below,
x 2 x 4 x 6 x8
cos x 1 ...
2 4! 6! 8!
(9 marks)
Question 2
f ( x) 26 85 x 91x 2 44 x 3 8 x 4 x 5
Determine the real roots by using this graph between interval [0,2].
(10 marks)
(b) From (a) determine the root by using Bisection method to find the root with employ
Question 3
5 3 cos x dx
0
a) Calculus method.
b) Trapezoidal rule (n =1).
c) Simpsons 1/3 rule.
d) Simpsons 3/8 rule.
e) Multiple Simpsons rule (n=5)
(25 marks)
Question 4
10 11 12
A 4 8 12
14 7 0
ii) Define a row vector B from elements in all rows of column 3 in matrix A.
iii) Define a row vector C from elements in all columns of row 2 in matrix A.
iv) Create matrix D from elements in rows 2 & 3 and columns 1 & 2 in matrix A.
v) Assign a new value to the (3,2) element.
(10 marks)
b) Solve the linear equation by using Nave Gauss elimination. Show all the steps.
- 3x 2 7x 3 2
x1 2x 2 x 3 3
5x1 2x 2 2
(15 marks)
Question 5
A spherical tank has a circular orifice in its bottom through which the liquid flow out shown
below Figure 1. The flow rate through the hole can be estimated as following equation:
Qout CA 2 gH
Where, Qout outflow(m3,/s),C-an empirically-derived coefficient (0.55),A-the area of the
orifice(m2 ),g-acceleration due to gravity (9.81ms-2) and H- the depth of liquid in the tank.
Use the 4th order Runge Kutta method to determine how long it will take for the water to
flow out of a 3m diameter tank with initial height of 2.75m. [Hint: Area A= r2 , Volume
H 2 (3r H )
V ]
3
(25 marks)
END OF QUESTION
FORMULA PROVIDED
Secant Method
Trapezoidal
Simpson
I s2
3h
f (a ) 3 f ( x1 ) 3 f ( x2 ) f (b)
8
LU
Newton Raphson
Gauss quadrature
ba ab
x z
2 2
ba
dx dz
2
Euler
Romberg
0,0
2
1,0
,0
2
4 , 1 1, 1
,
4 1
Bisection
SE
ET A
UNIVE
ERSITI KUALA
K LUMPUR
R
Ma
alaysian Institute
e of Marrine Eng
gineering Techn
nology
ANS
SWER
R SCHEM
ME
JANU
UARY 2012
2 SESSIO
ON
SUBJECT
T CODE : LGB 20
0103
T TITLE
SUBJECT : RICAL MET
NUMER THOD
LEVEL : DEGRE
EE
DURATION :
EXAMINER :
CONFIDENTIAL
Question 1
(101101) 2 (1 2 5 ) (0 2 4 ) (1 2 3 ) (1 2 2 ) (0 21 ) (1 2 0 )
=
32 8 4 1 45
(16 marks)
x 2 x 4 x 6 x8
b) Given function
cos x 1 ...
2 4! 6! 8!
1 cos(x)= 1.0000000000
2 cos(x)= 0.5558678020 ea = 8.0e-001 (1 mark)
3 cos(x)= 0.5887433702 ea = 5.6e-002 (2 marks)
4 cos(x)= 0.5877699636 ea = 1.7e-003 (2 marks)
5 cos(x)= 0.5877854037 ea = 2.6e-005 (2 marks)
6 cos(x)= 0.5877852513 ea = 2.6e-007 (2 marks)
7 cos(x)= 0.5877852523 ea = 1.7e-009
The true value of cos(0.3) is 0.5877852525. Therefore, 6 terms of the Maclaurin series are
necessary to approximate the true value to 8 significant figures.
Question 2
(a) Graphical
0
0 0.5 1 1.5
-4
-8
Root 0.58
(b) BISECTION
0.5 1
xr 0.75
2
1 0.5
a 100% 33.33%
1 0.5
The process can be repeated until the approximate error falls below 10%. As summarized below, this
occurs after 4 iterations yielding a root estimate of 0.59375.
iteratio
n xl xu xr f(xl) f(xr) f(xl)f(xr) a
1 0.50000 1.00000 0.75000 -1.47813 2.07236 -3.06321
2 0.50000 0.75000 0.62500 -1.47813 0.68199 -1.00807 20.00%
3 0.50000 0.62500 0.56250 -1.47813 -0.28199 0.41682 11.11%
4 0.56250 0.62500 0.59375 -0.28199 0.22645 -0.06386 5.26%
Graph Marking:
-Correct Point (Total plotting 6 points)--------(6 marks)
-Correct scale both x-axis & y-axis------------(1 marks)
-Root identical on x-axis -------------------------(1 marks)
-Correct data in Table form----------------------(1 marks)
(ii) From the graph, the root can be found where the line crosses the x-axis.
The root;
Xr 0.58. (1 marks)
Question 3
Analytical solution:
5 3 cos x dx 5x 3 sin x
3
15.42336
3
0 (2 marks)
0
8 2.030023
I (3 0) 15.04503 (4 marks)
2
15.42336 15.04503
t 100% 2.453% (4 marks)
15.42336
8 4(5.212212) 2.030023
I (3 0) 15.43943 t 0.104% (4 marks)
6
8 4(7.476007) 6.087073
I (1.2 0)
6
6.087073 3(4.318394 2.787819) 2.030023
(3 1.2) (8 marks)
8
8.79822 6.62304 15.42126 t 0.014%
Question 4
a.
Solution marks
2
ii) B=A(:,3)
2
iii) C=A(2, :)
iv) D=A(2:3,1:2) 2
v) A(3,1)=20 2
1 1 1 3
6 2 2 2
3 4 1 1
6 2 2 2 2
1 1 1 3
3 4 1 1
Pivot:
6 2 2 2
0 5 2 2
0 0.66667 1.33333 3.33333 2
6 2 2 2
0 5 2 2
0 0 1.6 3.6
Back substitution:
3.6
x3 2.25
1.6
2 2(2.25)
x2 0.5
5
2 2( 2.25) 2(0.5)
x1 0.25
6
b.
Solution marks
0 3 7 2 2
1 2 1 3
5 2 0 2
5 2 0 2
1 2 1 3 2
0 3 7 2
Multiply row 1 by 1/5 = 0.2 and subtract from row 2 to eliminate a21.
Because a31 already equals zero, it does not have to be eliminated.
5 2 0 2
0 2.4 1 2.6
0 3 7 2
Pivot:
5 2 0 2 2
0 3 7 2
0 2.4 1 2.6
5 2 0 2
0 3 7 2
0 0 4.6 4.2 2
Back substitution:
4.2
x3 0.913043
4.6
2 7(0.913043)
x2 1.463768
3
2
2 0(0.913043) ( 2)(1.463768)
x1 0.985507
5
Question 5
The volume of the tank can be computed as
dV
CA 2 gH (1) (2 marks)
dt
This equation cannot be solved because it has 2 unknowns: V and H. The volume is related to
the depth of liquid by
H 2 (3r H )
V (2) (4 marks)
3
dV dH
(2rH H 2 ) (3) (4marks)
dt dt
This result can be substituted into Eq. (1) to give and equation with 1 unknown,
dH CA 2 gH
(4) (4 marks)
dt 2rH H 2
Substituting this value along with the other parameters (C = 0.55, g = 9.81, r = 1.5) into Eq. (4)
gives
dH H
0.000548144 (5)
dt 3H H 2
We can solve this equation with an initial condition of H = 2.75 m using the 4th-order RK
method with a step size of 6 s. If this is done, the result can be plotted as shown,
0
0 2000 4000 6000 8000 10000
(8 marks)
The results indicate that the tank empties at between t = 7482 and 7488 seconds.