See Online Course Synopsis Handbook for information about Spring 2005 offering of this course: Mathematics 160S
Click here for our text's home page, which has links to program source code and errata.
Homework
From the text, page 264, problems 7c and 7d, as follows:
for this problem, for the three methods above, and also for
forward Euler (as in HW8),
graph the error, y(t) - (numerical approximation), on the
intervals stipulated by the text in 5c and 5d (page 264), under
the assumption that the numerical approximations use linear
interpolation between values of wi. Also,
produce graphs of error for step sizes h/2 and h/4.
Describe and discuss the differing errors for forward Euler,
modified Euler, Heun's method, and RK4, and how these errors
are related to the order of convergence.
A program that executes the forward Euler algorithm for initial
value problems.
From the text, page 264, problems 5c and 5d.
In addition, by reducing the step-size h by multiplying by
successive factors of 1/2,
obtain approximate values for y(b) and compute approximations
to the order of convergence, the asymptotic constant, and the
true value of y(b) (note that b = 2 in 5c and b = 1 in 5d).
Discuss the resulting asymptotic approximation to y(b) in the context
of the true value for y(b), obtained in problems 7c and 7d, below.
From the text, page 264, problems 7c and 7d.
For this problem,
graph the error, y(t) - (numerical approximation), under
the assumption that the numerical approximation uses linear
interpolation between values of wi. Also,
produce graphs for step sizes h/2 and h/4.
From the text, page 265, problem 15.
(Note that you can get the true solution y(t) by means of
separation of variables. I think that the characterization
in part b ``minimum error obtainable'' is incorrect;
instead, it is a bound on the error.)
I urge you to use values of h that are smaller and
smaller, by multiplying by successive factors of 1/10,
to see whether the predicted behavior of the error can be
observed.)
Click here for Possible Projects
Important dates
Return to: Layton's Home Page * Faculty List * Department of Mathematics * Duke University
Last modified: 24 March 2006