Docsity

Math 128A, Spring 2007 Lab 8 Solution: Richardson Extrapolation Analysis, Lab Reports of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Math 128A, Spring 2007
Lab 8 Solution
You’ll need to run the associated program to see the tables.
a) Richardson extrapolation obviously worked well here, as the final |I−T1|=
5.769 ×10−13 is much smaller than the final |I−T0|= 4.069 ×10−5.
b) It is not clear that extrapolation worked for this problem. Trapezoid rule
converged too quickly for us too really see anything.
c) The integrand is very nearly zero everywhere on [0,500] except for a short
interval just past 0, hence the integrand is nearly zero at all nodes of
integration until mis sufficiently large. This is why the first 5 values of
T0are 0. The stopping criterion |T3
m−T3
m−1|<10−12 worked against us
here, because the first 2 values of T3
mare identical even though we haven’t
converged.
d) All of the Tks in this problem converge nicely, but the ratios indicate that
they are converging at the same rate. Thus Richardson extrapolation isn’t
helping. The likely explanation is that since the integrand is not analytic
(it has cusps at the endpoints), the error I−T0doesn’t have the form
that Richardson extrapolator expects.
e) We have a problem here similar to the one we had in part (c): the integrand
is 0 at all nodes until m≥9. Whence the stopping criterion causes a
problem again.
f) As in part (d), we see convergence but no benefit in extrapolation.
g) Once we move away from the cusp in part (f) by shortening the interval,
Richardson extrapolation starts to work.
1

Partial preview of the text

Download Math 128A, Spring 2007 Lab 8 Solution: Richardson Extrapolation Analysis and more Lab Reports Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Math 128A, Spring 2007

Lab 8 Solution

You’ll need to run the associated program to see the tables.

a) Richardson extrapolation obviously worked well here, as the final |I−T 1 | =

  1. 769 × 10 −^13 is much smaller than the final |I − T 0 | = 4. 069 × 10 −^5.

b) It is not clear that extrapolation worked for this problem. Trapezoid rule converged too quickly for us too really see anything.

c) The integrand is very nearly zero everywhere on [0, 500] except for a short interval just past 0, hence the integrand is nearly zero at all nodes of integration until m is sufficiently large. This is why the first 5 values of T 0 are 0. The stopping criterion |T (^) m^3 − T (^) m^3 − 1 | < 10 −^12 worked against us here, because the first 2 values of T (^) m^3 are identical even though we haven’t converged.

d) All of the T ks in this problem converge nicely, but the ratios indicate that they are converging at the same rate. Thus Richardson extrapolation isn’t helping. The likely explanation is that since the integrand is not analytic (it has cusps at the endpoints), the error I − T 0 doesn’t have the form that Richardson extrapolator expects.

e) We have a problem here similar to the one we had in part (c): the integrand is 0 at all nodes until m ≥ 9. Whence the stopping criterion causes a problem again.

f) As in part (d), we see convergence but no benefit in extrapolation.

g) Once we move away from the cusp in part (f) by shortening the interval, Richardson extrapolation starts to work.