672 14 Numerical and Approximation Methods
13. Solve the following parabolic system by the Crank–Nicolson method
u
t
= u
xx
, 0 <x<1,t>0,
u (0,t)=u (1,t)=0,t≥ 0,
with the initial condition
(a) u (x, 0) = 1, 0 ≤ x ≤ 1,
(b) u (x, 0) = sin πx, 0 ≤ x ≤ 1.
(c) u (x, 0) = sin πx, 0 ≤ x ≤ 1
with 0 ≤ t ≤ 0.2 and in formula (14.5.2) κ =1,k = h
2
.
14. Use the Crank–Nicolson implicit method with the central difference
formula for the boundary conditions to find a numerical solution of the
differential system
u
t
= u
xx
, 0 <x<1,t>0,
u
x
(0,t)=u
x
(1,t)=−u, t ≥ 0,
u (x , 0) = 1, 0 ≤ x ≤ 1.
15. Find a numerical solution of the wave equation
u
tt
= c
2
u
xx
, 0 <x<l, t>0,
with the boundary and initial conditions
u =
1
20
u
x
at x = 0 and x = l, t > 0,
u (x , 0) = 0,u
t
(x, 0) = a sin
πx
l
0 ≤ x ≤ l.
16. Determine the function representing a curve which makes the following
functional extremum:
(a) I (y (x)) =
1
0
y
′2
+12xy
dx, y (0) = 0,y(1) = 1,
(b) I (y (x)) =
π/2
0
y
′2
− y
2
dx, y (0) = 0,y
π
2
=1,
(c) I (y (x)) =
x
1
x
0
1
x
1+y
′2
1
2
dx.
17. In the problem of tautochroneous motion, find the equation of the curve
joining the origin O and a point A in the vertical (x, y)-plane so that a
particle sliding freely from A to O under the action of gravity reaches
the origin O in the shortest time, friction and resistance of the medium
being neglected.