

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!


AMSC/CMSC 460 Quiz 6 , Fall 2007
formula for the predictor is 5 h
3 12 y
(3)(η) and for the corrector is h^4 24 y
(4)(ξ). What
can you say about the error? (Give an unambiguous statement about what error you mean and what your estimate of it is.)
Answer: The error formulas tell us that
yn+1 − yPn+1 =
5 h^3 12
y(3)(η),
yn+1 − yCn+1 =
h^4 24
y(4)(ξ).
We can’t compute the left or right-hand sides, but if we subtract the two equations we obtain
ynC+1 − yPn+1 =
5 h^3 12
y(3)(η) −
h^4 24
y(4)(ξ),
and the left-hand side is computable. Assuming that the error in the corrector is much smaller than the error in the predictor, we have
|yn+1 − yPn+1| ≈ |yCn+1 − ynP+1| = 1. 2450 − 1 .2430 =. 002.
This is an approximation to the local error in the predictor: i.e., the differ- ence between the true solution and the predicted value, assuming that all of the values used in the predictor formula are correct.
2a. (5) Give an important advantage of PECE Adams methods over Runge- Kutta methods.
Answer: PECE uses two function evaluations, regardless of the order of the method. Runge-Kutta uses more function values than this for formulas of order greater than 2.
2b. (5) Consider the differential equation y′^ = f (t, y), with y : R^1 → R^2. Given t 1 and y(t 1 ), how do you test whether the differential equation is stiff at t 1?
Answer: Since y has two components, we need to
If the real parts of the eigenvalues are negative, and one is much less than the other, then the equation is stiff at t 1.