Page 471 - Applied Numerical Methods Using MATLAB
P. 471
460 PARTIAL DIFFERENTIAL EQUATIONS
(4) Click ‘Parameters’ in the Solve pull-down menu to set the time range
to, say, as 0:0.2:10, the boundary condition as (P9.8.13) and the ini-
tial conditions as (P9.8.12). (See Fig. 9.15b and Problem 9.6(c)(ii).)
(5) In the Plot selection dialog box opened by clicking the button,
check the box before ‘Height’ and the box before ‘Animation’ and
then click the Plot button in the Plot selection dialog box to see a
movie-like dynamic picture of the solution graph.
(6) If you want to have better resolution in the solution graph, click Mesh
in the top menu bar and click ‘Refine Mesh’ in the Mesh pull-down
menu. Then, select Plot in the top menu bar or type CTRL + P( P)
∧
on the keyboard and click ‘Plot Solution’ in the Plot pull-down menu
to see a smoother animation graph.
(7) In order to estimate the time when one of the two separated pulses
propagating leftward is reflected and reversed and the time when
the two separated pulses are reunited, count the flickering frame
numbers, noting that one flickering corresponds to 0.2 s according
to the time range set in step (4).
(8) If you want to save the PDEtool program, click File in the top menu
bar, click ‘Save As’ in the File pull-down menu, and input the file
name of your choice.

