Professional Documents
Culture Documents
Exam 2014 B
Exam 2014 B
Final Examination
January 04, 2015
19:00 – 22:00
(Total Score: 110)
1. Prove that the Romberg integration (e.g., R2,1 ) based on I 2 h (e.g., R1,1 ) and I h (e.g.,
R1, 2 ) of the global (extended or composite) trapezoidal rule is identical with the
expression of Simpson’s 1/3 rule using h as the interval size. (10%)
(b) Use the quadrature formula developed in part (a) together with the coordinate
transformation method to evaluate the integral as follows:
4 1
I dz ,
0 z 4
3. (a) Show that for any choice of h , the midpoint, the modified Euler, and Heun’s
methods all give the same approximations for the following initial-value problem:
y y x 1 ,
for 0 x 1 and y(0) 1. (5%)
(b) Use the midpoint method and N 2 to find all the y -values given in the domain
of Problem (a). (5%)
Hint: Midpoint method is given by the form of
h h
yi 1 yi h [ f ( xi , yi fi )].
2 2
Heun’s method is given by the form of
-1-
h 2h 2h
yi 1 yi [ f ( xi , yi ) 3 f ( xi , yi f i )].
4 3 3
0 1 4 x1 6
8 3 1 x 17 .
2
2 7 1 x3 7
That is:
Ax b .
Perform pivoting if needed.
(a) Find the solution vector x by using the inversion matrix method. (10%)
(b) Find the solution vector x by using the Jacobi method (3 iterations only) with
initial guess of x(0) = (0, 0, 0, 0). (10%)
to approach f (x) .
-3-