You are on page 1of 7

INTERNATIONAL ISLAMIC UNIVERSITY MALAYSIA

END OF SEMESTER EXAMINATION


SEMESTER II, 2013/2014 SESSION


KULLIYYAH OF ENGINEERING

Programme : ENGINEERING Level of Study : UG 2

Time : 2.30-5.30 pm Date : 25/5/2014
Duration : 3 Hours
Course Code : MTH 2212 Section(s) : 1 - 4

Course Title : COMPUTATIONAL METHODS AND STATISTICS
This Question Paper Consists of Seven (7) Printed Pages (Including Cover Page) With Six (6) Questions.
INSTRUCTION(S) TO CANDIDATES

DO NOT OPEN UNTIL YOU ARE ASKED TO DO SO
This question paper consists of two sections, for specific instructions, please refer to appropriate
section.
Answer should be clear and intelligible.
Justify your answer with simplification of intermediate steps for full marks.
No books, notes and programmable calculator are permitted.

Any form of cheating or attempt to cheat is a serious offence which may lead to dismissal.







Computational Methods and Statistics MTH 2212

2

Section A [60 marks]
[Answer all questions of this section]


Q1. [20 marks]

(a) Given the letters X, Y, and Z, list the permutation and combination for selecting 2 letters?
(3 marks)

(b) Explain which brand is better and why? (3 marks)

Brand A: 10, 60, 50, 30, 40, 20

Brand B: 35, 45, 30, 35, 40, 25



(c) What are the pitfalls of Gauss elimination method and how do you overcome them? (3 marks)



(d)


()

using Newton formula. Find a linear approximation for () (4 marks)





(e) What does a correlation coefficient tell about the relationship between two variables? (2 marks)



(f) Solve by Gauss elimination with partial pivoting the following equations. Show all steps of the
computation.


(5 marks)



Computational Methods and Statistics MTH 2212

3

Q2. [20 marks]
(a) Solve the following initial value problem using Ralstons method from t = 0 to 0.4 with a step size
of 0.2.

()
(5 marks)

(b) A movement of particle as a function of time is given by the following data.

Time, t, sec 0 2 4 6 8 10 12 16
Position, x, m 0 0.7 1.8 3.4 k 6.3 7.3 8.0 8.4

i. Find the value of k when the velocity of the particle (dx/dt) at t = 10 sec is 0.5416667 m/s.
(3 marks)

ii. Hence, find the acceleration of the particle (d
2
x/dt
2
) at t = 12 sec. (3 marks)

(b) Use Lagrange polynomial of the first and second order to estimate log 5 if given
log4=0.60206, log 5.5 = 0.7403627, log 6 = 0.7781513. Compute the percent relative error based
on the true value (

) for each order. (6 marks)



(d) Fill in the blanks for linear simple regression. Given that total number of samples selected, n =10.

Source of variation DF SS MS
Regression 1 1450.0
Residual error 8 ..
Total .. 2056.0
(3 marks)




Computational Methods and Statistics MTH 2212

4

Q3. [20 marks]

(a) Use Trapezoidal rule to approximate (4 marks)



with h = 0.25. Compute the percent relative error of your approximation.



(b) Let ()

. Use numerical formula with h = 0.2 to approximate value of (0.3).


(4 marks)



()

( )






(d) Banana chips are packed in a cylindrical paper container. The mean weight is 300 grams and it has
been analyzed that 10% of these packages have weights exceeding the approved limit of 305
grams.

i. Find the standard deviation for the weights of these packages. Assume the weights of the
packages are normally distributed.
(4marks)

ii. If 6 packages are randomly selected, find the probability that at most 2 packages weight more
than the approved limit of 305 grams.
(4marks)







Computational Methods and Statistics MTH 2212

5

Section B [40 marks]
[Answer any TWO (2) questions from this section]


Q4. [20 marks]
(a) Use Gauss-Seidel method with relaxation = 0.2 to solve the following system of equation



Perform two iterations and use (0, 0, 0) as the initial condition. (7 marks)



(b) Employ the power method to determine the highest eigenvalue and corresponding eigenvector for

[



]
Perform three iterations. Use (1, 1, 1) as the initial condition. (4 marks)

(c) Use the factorization A= LU to solve the linear system


(5 marks)


(d) E-mail messages arrive at a mail server on a computer network according to Poisson distribution
at an average of 8 every ten minutes. What is the probability that at most two messages arrive in
thirty minutes? (4 marks)

Computational Methods and Statistics MTH 2212

6

Q5. [20 marks]
(a) An engineer who is studying the tensile strength of a steel alloy intended for use in a golf clubs
shafts knows that tensile strength is approximately normally distributed with

. A
random sample of 12 specimens has a mean tensile strength of

.

i. Test the hypothesis that the mean strength is 24150 kN/

. Use = 0.01. (4 marks)



ii. What is the -error for the test in part (i) if the true mean is 23925? (4 marks)

iii. Suppose that we wanted to reject the null hypothesis with probability at least 0.8 if the mean
strength (3 marks)

(b) Consider the following data values:
x 18 19 20 21
) (x f 9.030900 9.542425 10.256312 10.413926

i. Find the value of ) 5 . 19 ( f using first-order Spline. (2 marks)

ii. Find the value of ) 5 . 19 ( f using second-order Newtons interpolating. (4 marks)

iii. Find the value of ()

using Simpsons 3/8 Rule. (3 marks)









Computational Methods and Statistics MTH 2212

7

Q6. [20 marks]
(a) The fuel of a car (miles per gallon) varies with its speed. In an experiment, the following five
measurements are obtained:

Speed(mph) 10 25 40 55 70
Fuel economy(mpg) 12 26 28 30 24

Use quadratic Splines interpolation to calculate the fuel economy at a speed of 30mph.
(7 marks)

()

( )

(c) Solve the following system of ODEs for x [0,2] using Eulers method with step size of 0.5.
Given () ()


(4 marks)

(d) The data from a study investigating the relationship between roadway surface temperature (x) and
pavement deflection (y) are summarized as follow:



i. Calculate the least squares estimates of the slope and intercept. (4 marks)

ii. Use the equation of the fitted line to predict what pavement deflection would be observed
when the surface temperature is

(2 marks)


-END OF QUESTION PAPER-

You might also like