next up previous

Exercise 23: An illustration of blasting.

To illustrate the technique of blasting, consider the following IBVP

Take at all grid points and take c = 1 at all grid points except the middle point where c is ``blasted'' (, for example). With 51 interior grid points use the explicit, forward in time, method (with no IF statements) to approximate the solution to this problem. Use xmgr to plot your solution at early, intermediate, and late times.