You are on page 1of 7

INTERNATIONAL ISLAMIC UNIVERSITY MALAYSIA

END OF SEMESTER EXAMINATION


SEMESTER I, 2013/2014 SESSION


KULLIYYAH OF ENGINEERING

Programme : ENGINEERING Level of Study : UG 2

Time : Date :
Duration : 3 Hours
Course Code : MTH 2212 Section(s) : 1 - 6

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.




2

Computational Methods and Statistics MTH 2212


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

Q1.[20 marks]

(a) If the value of r is not significant, what can be said about the regression line? (2 marks)

(b) A Nokita cell phone is made from 55 components. Each component has a 0.002
probability of being defective. What is the probability that a Nokita cell phone will not
work perfectly? (3 marks)


(c) Find the first-order Spline interpolating for the data below. Evaluate the function at
.7. (3 marks)

x 8 11 15 18
y 5 9 10 8

(d) A science instructor assigns a group of student to investigate the relationship between their
grade point average and consistency in study. The correlation between GPA and studying
consistency is 0.853. Assume that the association is linear. Describe the association.
(2marks)


(e) Use Centered difference approximation to estimate the second derivatives of ()


at . (5 marks)


(f) Use Eulers method to solve (5 marks)

5 0 ), 3 sin( 2
2 2
y x y x
dx
dy
e
y


from x = 0 to 1 with step size of 0.25.





3

Computational Methods and Statistics MTH 2212

Q2. [20 marks]
(a) Determine the second-order Lagrange polynomial P(x) that interpolates
()



at the nodes {-1,0,1}. Estimate y (-0.8) using P(x). (3 marks)


(b) A company wants to find an interval estimate of the true mean clock speed of their new
microprocessor. A sample of 29 microprocessors revealed that the sample average was
2.95 Ghz with a standard deviation of 0.23 Ghz. Find a 90% confidence interval on the true
mean clock speed. (3 marks)

(c) Compute the first-order forward difference approximation of the function

( )


at x = 4 with step size of h=0.5. (3 marks)


(d) Find the third-order Newton form of the interpolating polynomial to approximate f(1.15)
using the following values: (5 marks)

x 1/4 1/3 1 6/5
f(x) -1 2 7 5


(e) Test the claim that the mean lifetime of car engines of a particular type is greater than
220,000 miles. Given the sample has sample mean of 226,450 miles, n = 23 and s = 11,500
miles. Use a significance level of = 0.01. (6 marks)




4

Computational Methods and Statistics MTH 2212

Q3. [20 marks]
(a) Given the matrix : [



]

() [] [] (4 marks)
()


(4 marks)

(b) Use two-point Gauss-Legendre to perform

(

) ( )




(c) An investigation was done on the falling of the North Tower and some of the data
obtained were shown below.

Time,t (sec) 1.8334 2.000 2.1666 2.3332 2.4998 2.6664 2.8330 2.9996
Roof fall,x (ft) 38.72 45.76 53.68 62.48 71.28 80.96 91.52 102.96
Determine the following:

() (

) (3 marks)

() (

) (3 marks)

(d) A company owns 400 laptops. Each laptop has an 8% probability of not working. You
randomly select 20 laptops for your salespeople. What is the likelihood that they will all
work? (2 marks)



5

Computational Methods and Statistics MTH 2212


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

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


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


(b) Find the third-order Lagrange interpolating polynomial for the data. (3 marks)

x



cos x 0


1

(c) The sales of a company (in million ringgit) for each year are shown in the table below.
x (year) 2005 2006 2007 2008 2009
y (sales) 12 19 29 37 45

(i) Assuming that a simple linear regression model is appropriate, find the least square
regression line model and estimate the sales of the company in 2012. (5 marks)

(ii) What is the percentage of the variability is accounted for by the relationship between
the two variables? (2 marks)
(iii) Compute the correlation coefficient. (2 marks)
(iv) What is the relationship between the sign of the correlation coefficient and the sign of
the slope of the regression line? (1 mark)
6


Computational Methods and Statistics MTH 2212

Q5. [20 marks]
(a) Location pins for working devices are ground to a diameter of 12.50 mm, with a tolerance
of 0.05 mm. If the process is centered at 12.50 mm and the dispersion is 0.02 mm.

(i) What percent of the product must be scrapped and what percent can be reworked?
(4 marks)

(ii) How can the process center be changed to eliminate the scrap? (2 marks)

(iii) What is the rework percentage? (4 marks)


(b) Determine the distance travelled for the following data, use the best combination of the
Trapezoidal and Simpsons rules. (10 marks)




Q6. [20 marks]
(a) A company wants to find an interval estimate of the true mean clock speed of their new
microprocessor. A sample of 29 microprocessors revealed that the sample average was
2.95 Ghz with a standard deviation of 0.23 Ghz. Find a 90% confidence interval on the true
mean clock speed. (5 marks)

(b) Find the value of

6 . 2
0 . 2
) ( dx x f using Simpsons 3/8 Rule, given n= 5. (5 marks)






X, min 1 2 3.25 4.5 6 7 8 9.5 1
V, m/s 5 6 5.5 7 8.5 8 6 7 7 5
7



Computational Methods and Statistics MTH 2212



(c) (i) Use the classical fourth-order Runge-Kutta method to solve


() ()


(ii) Given the exact solution is
()



Calculate the percent relative error for () (3 marks)













-END OF QUESTION PAPER-

You might also like