Solution 2.
Remark. We will be
using
. This forces
.
Remark. Clear the
old "rule" for F, otherwise it will be hanging around. The
piecewise definition of the function
can be accomplished as follows.
![[Graphics:../Images/FiniteDifferencePDEMod_gr_59.gif]](../Images/FiniteDifferencePDEMod_gr_59.gif)
Now set up the table of solutions. Solve it. Plot it.
![[Graphics:../Images/FiniteDifferencePDEMod_gr_62.gif]](../Images/FiniteDifferencePDEMod_gr_62.gif)
To see the numerical values enter the command:
![[Graphics:../Images/FiniteDifferencePDEMod_gr_77.gif]](../Images/FiniteDifferencePDEMod_gr_77.gif)
(c) John H. Mathews 2004