% This script does some plotting needed for Chapter 2, execrcise 5.

x = 0:.01:15;

for t=0:.25:2,
  plot(x,u5(x,t))
  hold on
end
hold off

figure;

dt=0.1
t1=0.5;t2=1.5;

plot(x,u5(x,t1))
hold on 
plot(x,u5(x,t1+dt))
plot(x,u5(x,t2))
plot(x,u5(x,t2+dt))
hold off

