Professional Documents
Culture Documents
Mat575 2008-1
Mat575 2008-1
Mat575 2008-1
CONFIDENTIAL
COURSE
COURSE CODE
MAT575
EXAMINATION
APRIL 2008
TIME
3 HOURS
INSTRUCTIONS TO CANDIDATES
1.
2.
Answer ALL questions in the Answer Booklet. Start each answer on a new page.
3.
Do not bring any material into the examination room unless permission is given by the
invigilator.
4.
Please check to make sure that this examination pack consists of:
i)
ii)
iii)
CONFIDENTIAL
CONFIDENTIAL
CS/APR 2008/MAT575
a)
b)
Let f(x) = 2 x c o s 2 x - ( x - 2 ) 2
i)
Show that there is at least one solution for f (x) = 0, in the interval [ 2 , 3 ] .
(3 marks)
ii)
Find a bound for the number of Bisection method iterations needed to achieve
an approximation with accuracy 10"1 to the solution of f (x) = 0 in the interval
[ 2 , 3 ] . Approximate the root to this degree of accuracy.
(10 marks)
Let P3(x) be the Lagrange interpolating polynomial for the data (0,0) (0.5,y) (1,3) and
(2,2). Find y if the coefficient of x 3 in P3 (x) is 6.
(7 marks)
QUESTION 2
a)
Describe the Newton's method to find the first approximation to the solution of f(x) =0
(4 marks)
b)
i)
Use two iterations of the Newton's method to find a solution for 2 sin 2x = x
with p0 = 0.5.
(7 marks)
ii)
Find the first approximation to ^/ 25 using the Newton's method with p0 = 2.5.
Compute the absolute error.
(5 marks)
c)
CONFIDENTIAL
CONFIDENTIAL
CS/APR 2008/MAT575
QUESTION 3
a)
0.5
1.089
f(x)
0.7
1.256
0.6
1.173
0.9
1.421
0.8
1.338
Construct the least squares polynomial of degree 1 for the given data.
(7 marks)
b)
Find
the linear
e"x- 3
least
square
polynomial
approximation
for
the
function
in the interval [ - 1 , 1 ] .
(13 marks)
QUESTION 4
a)
1.8
3.12014
f(x)
Approximate
i)
2.0
4.42569
f26f(x)dx
v
J1.8
2.2
6.04241
2.4
8.03014
2.6
10.46675
ii)
Simpson's rule
(3 marks)
b)
f(x)
2
5
4
64
6
219
8
518
(10 marks)
CONFIDENTIAL
CS/APR 2008/MAT575
CONFIDENTIAL
QUESTION 5
Given the initial value problem,
y'=te3t-2y ,
a)
0 < t <1,
y(O) = o
Euler's Method
(5 marks)
25
_i_
25
CONFIDENTIAL
CONFIDENTIAL
APPENDIX 1(1)
CS/APR 2008/MAT575
Numerical Formulae
Bisection Method
Secant Method
P - a , bn ~ a n o n [ K 1
Pn_an+-_-on[an.bn]
O < -D
Pn+1-Pn
tPn)(Pn~Pn-i)
f(pn)_f(pni)
Newton-Raphson's method:
_P_f(Pn)
Trapezoidal rule
R,
H,
odd
even
Jo
b-a
where h =
n
CONFIDENTIAL
CS/APR 2008/MAT575
APPENDIX 1 (2)
CONFIDENTIAL
Euter's method
j + 1 =j +hf{t),coj) where COQ = a and i = 0,1 l .....,n-l
z*?
CONFIDENTIAL