Professional Documents
Culture Documents
()
(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 (
with h = 0.25. Compute the percent relative error of your approximation.
(b) Let ()
( )
(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/
( )
(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-