Professional Documents
Culture Documents
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-