






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Prof. Persson, May 14, 2014
Sec Time GSI
101 Tue 8 - 9am C. Melgaard
102 Tue 11 - 12pm D. Anderson
103 Tue 12 - 1pm D. Anderson
104 Tue 1 - 2pm M. Fortunato
105 Tue 2 - 3pm M. Pejic
106 Tue 3 - 4pm M. Pejic
107 Tue 4 - 5pm C. Melgaard
108 Tue 5 - 6pm M. Fortunato
Other/none, explain:
Grading
Indicate clearly where to find your answers.
−x
. Show that the fixed point iteration pn+1 = g(pn)
converges for any p 0 ∈ [1, 3].
π
0
π
0
cos
2 (x + y) dx dy
such that
∫ 1
0
cos x
x 3 / 4
dx =
1
0
r(x) dx + s
(which can be used to approximate the integral using the composite trapezoidal rule,
but you do not have to do that).
wi+1 = wi + hf (ti+1, wi+1).
a) (3 points) Show that the method has a local trunction error O(h).
b) (3 points) Apply the method with stepsize 2h:
wi+1 = wi− 1 + 2hf (ti+1, wi+1),
and use Richardson extrapolation to derive a more accurate method.
Clearly indicate the order of the local trunction error of the new method.
c) (2 points) Is this new method convergent?
matrices L1 and L2 of size n × n:
L = zeros(n,n);
for i = 1:n
for j = 1:i
for k = j:i
L(i,j) = L(i,j) + L1(i,k) * L2(k,j);
end
end
end
Find the total operation count of the algorithm (that is, the number of additions
and multiplications), leading term only.
3 α 1
α 3 − 1
(Scratch Paper 1)