
EXERCISES 245
Use an appropriate software application to solve the following IBVPs. Unless stated
otherwise, q(x, t), f(x), ai, a
2
, &i, b
2
, g\, and g2(t) are all zero.
a) c
=
1, k = 0.1, q(x,t) = e
_
2 sin(7rx), f(x) = 1, a\ — 1, b\ = \,
g±
= 1,
and g2(t) = cost.
b) c= l,fc = 0.1,g(x,£) = e~íií[0.4,0.6] W^i = 1, &i = 0.2,
£>
2
= 0.4, pi =
l,and#
2
(t) = 2.
c) c= 1,
fc
=
0.1,
q{x,t) = x(l + t)~
2
, /(x) = x - x
2
, ai = 1,
¿>i
= 1, #i =
l,andy2(i) = *(l+*)
_1
·
d) c= l,/c = 0.1,c(x,¿) =x(Hi)-
2
,/W = x-x
2
, a
2
= 1, &i = l,^i =
l,and^
2
(*)=i(l + t)"
1
.
9.7 Recall the Robin boundary condition for the ID heat transfer equation at the
right boundary of the medium is given as
du
r Ί
where η is the surface heat transfer coefficient, κ is the heat transfer coefficient for
the medium, and g(t) is the time-dependent temperature of the surrounding material.
Derive a finite difference expression for this boundary condition. Let i
maa;
be the
index of the right boundary point and h represent the spacing between the boundary
point and the first interior node, whose index is given as i
max
—
1.
9.8 Make modifications to appropriate software code to incorporate the Crank-
Nicolson method for the case of ID heat transfer. Repeat the solution process
outlined for items listed in Exercise 9.5 and compare results.
9.9 The general form of a ID wave IBVP is shown below.
IBVP
yu(x,t)
0 < x < L,
C Vxx\
t >
x,t)
y{x,0)--
yt(x,o)
h(x\
--
Λ(χ)
aiy(0,t) + a
2
y
x
(0,t) = gi(t)
b
x
y{L, t) + b
2
y
x
(L, t) = g
2
(t)
(PDE)
(ICI)
(IC2)
(BC1)
(BC2)
Use an appropriate software application to solve the following ID wave IBVP. Use
a nodal spacing of h = 0.02 and τ = 0.1. Provide plots for y(x,t) on the interval
0 < x < L for t = 0.1, 1.0 and 3.0. Unless stated otherwise, assume /i(x), /bO^)»
αχ, a
2
, &i, b
2
, gi, and g
2
(t) are all zero.
a) c= 1/2, L
=
1, f
2
(x) = 8ΐη(πχ), a\ = b\ = 1
b) c= 1/2, L = 10, /i(x) = jff
[4
,
6]
(x)(x - 4)(6 - x), α
λ
= h = 1
c) c=v
/
3,L=10,/
1
(x)=x(10-x)/50,/
2
(x)=F
[
4,6](^)(x-4)(6-x),
ai = b\ — 1
9.10 What is the order of
the
FD version of the 1D wave equation given in Equation
(9.20) in space? in time? Demonstrate these relationships between the error and the