The assignment is due Thursday, April 8 in class.
Please e-mail your Matlab script(s) to
Problems 4.2 (only do one of the methods, not all four)
and 4.3 (first paragraph only), pages 126-127 in the text.
Consider the wave equation that is defined in the text in equations
(4.33a)-(4.35b).
Write Matlab scripts that solve this equation for the Lax-Wendroff scheme
and the Leap-Frog scheme (use Lax-Wendroff to start Leap-Frog).
(Optionally, use the box scheme, too.)
Write a short report describing the accuracy of the methods, any
problems that you encountered, and draw some conlcusions on which method you
would recommend.
Cheers,
Craig C. Douglas