Indian Institute of Technology Indore
Semester: Spring 2025
Numerical Methods (MA 204): BVP/FDM/ODEs/PDEs
Tutorial - 3
————————————————————————————————————–
1. Solve the wave equation
∂2y ∂2y
=
∂t2 ∂x2
up to t = 0.5 with a spacing ∆x = 0.1, subject to:
(a) y(0, t) = 0, y(1, t) = 0,
∂y
(b) (x, 0) = 0,
∂t
(c) y(x, 0) = 10 + x(1 − x).
2. Find the solution of the initial boundary value problem:
∂2u ∂2u
2
= , 0 ≤ x ≤ 1,
∂t ∂x2
subject to the initial conditions
u(x, 0) = sin(πx), 0 ≤ x ≤ 1,
∂u
(x, 0) = 0, 0 ≤ x ≤ 1,
∂t
and the boundary conditions
u(0, t) = 0, u(1, t) = 0, t > 0.
Solve the problem by using:
(a) The implicit scheme,
(b) The explicit scheme.
3. The transverse displacement u of a point at a distance x from one end and at any time t of a
vibrating string satisfies the equation
∂2u ∂2u
= 4 ,
∂t2 ∂x2
with the boundary conditions
u(0, t) = 0, u(4, t) = 0, t > 0,
and the initial conditions
∂u
u(x, 0) = x(4 − x), (x, 0) = 0, 0 ≤ x ≤ 4.
∂t
Solve this equation numerically for one-half period of vibration, taking h = 1 and k = 12 .
4. Solve the following wave equation
∂2u ∂2u
2
= 16 2 ,
∂t ∂x
taking ∆x = 1 up to t = 1.25. The boundary conditions are:
(a) u(0, t) = 0, u(5, t) = 0,
∂u
(b) (x, 0) = 0,
∂t 1
(c) u(x, 0) = x2 (5 − x).
5. Solve the elliptic equation
uxx + uyy = 0
for the following square mesh with boundary values as shown in the figure:
6. Given the values of u(x, y) on the boundary of the square in the figure, evaluate the function
u(x, y) satisfying the Laplace equation ∇2 u = 0 at the pivotal points of this figure by
(a) Jacobi’s method
(b) Gauss-Seidel method
7. Solve the Poisson equation
uxx + uyy = −81xy, 0 < x < 1, 0<y<1
given that
u(0, y) = 0, u(x, 0) = 0, u(1, y) = 100, u(x, 1) = 100
1
and h = 3.
8. Solve the equation ∇2 u = −10(x2 + y 2 + 10) over the square with sides x = 0 = y, x = 3 = y,
with u = 0 on the boundary and mesh length h = 1.
2