1.6. CONVERGENCE ANALYSIS 49
Theorem 1.6.4 (Discretization Error for (1.6.14)) Consider the continuous
model (1.6.14) and its explicit fi nite di
erence model. If d> f and (1dw@{
w f) are nonnegative, and x
ww
and x
{{
are bounded on [0> O]×[0> W ], then there
are constants
F
1
and F
2
such that
°
°
H
n+1
°
°
(F
1
{ + F
2
w)W .
Theorem 1.6.5 (Discretization Error for (1.6.15)) Consider the continuous
model (1.6.15) and its explicit finite di
erence model. If f A 0> A 0> =
(
w@{
2
) and (1 2 w f) A 0, and x
ww
and x
{{{{
are bounded on [0> O] ×
[0
> W ], then there are constants F
1
and F
2
such that
°
°
H
n+1
°
°
(F
1
{
2
+ F
2
w)W=
1.6.7 Exercises
1.
when
pd{n = 80.
2.
pd{n = 80.
3. Assume the surrounding temperature initially is 70 and increases at a
constant rate of one degree every ten minutes.
(a). Modify the continuous model in (1.6.2) and find its solution via the
M
ATLA B command desolve.
(b). Modify the discrete model in (1.6.4).
4. Consider the time dependent surrounding temperature in problem 3.
(a). Modify the MATLAB code eulerr.m to account for the changing
surrounding temperature.
(b). Experiment with di
erent number of time steps with pd{n = 5, 10,
20, 40 and 80.
5. In the proof of the Theorem 1.6.3 justify the (1.6.11) and |
e
n+1
| P.
6. In the proof of the Theorem 1.6.3 justify the (1.6.12) and (1.6.13).
7. Modify Theorem 1.6.3 to account for the case where the surrounding
temperature can depend on time,
x
vxu
= x
vxu
(w). What assumptions should be
placed on
x
vxu
(w) so that the discretization error will be bounded by a constant
times the step size?
8. Modify flow1d.m by inserting
an additional line inside the time-space loops for the error (see flow1derr.m).
9.
additional line inside the time-space loops for the error (see heaterr.m).
10. Consider a combined model for (1.6.14)-(1.6.15):
x
w
= i + (x
{
)
{
dx
{
fx= Formulate suitable boundary conditions, an explicit finite dierence
method, a M
AT LAB code and prove an error estimate.
© 2004 by Chapman & Hall/CRC
Verify the calculations in Table 1.6.1, and find the error when
Verify the computations in Table 1.6.14.
Verify the computations in Table 1.6.15. Modify heat.mbyinserting an
Duplicate the calculations in Figure 1.6.1, and find the graphical solution