Sei sulla pagina 1di 2

Lahore University of Management Sciences

. Department of Mathematics, SSE

Advanced Numerical Analysis


Assignment No. 3 (Programming)

Submission Date: March 27, 2020

1). The electrostatic potential u between two concentric spheres of radius r = 1 and r = 4
is determined from
d2 u 2 du
+ = 0
dr2 r dr
where u(1) = 50 and u(4) = 100. Use finite difference method with n = 6 to
approximate the solution for this boundary-value problem.

2). The deflection of a uniformly loaded, long rectangular plate under an axial tension
force is governed by a second-order differential equation. Let S represent the axial
force and q the intensity of the uniform load. The deflection W along the elemental
length is given by
S ql q 2
W 00 (x) − W (x) = − x+ x
D 2D 2D
where l is the length of the plate and D is the flexual rigidity of the plate such that
0 ≤ x ≤ l, W (0) = W (l) = 0. Let q = 200lb/in2 ., S = 100lb/in., D = 8.8 × 107 lb/in.,
and l = 50in. Use finite difference method to approximate the deflection at 1-in.
intervals.

3). Use the Nonlinear Finite-Difference Algorithm with T OL = 10−4 to approximate the
solution to the following boundary-value problem.

y 00 = 2y 3 − 6y − 2x3

where 1 ≤ x ≤ 2 and y(1) = 2, y(2) = 52 ; use h = 0.1. The actual solution to this
problem is y(x) = x + x−1 . Compare the result with the original solution.
4). Cooling fins are often welded to objects in which heat is generated to conduct the
heat away, thus controlling the temperature. If the fin loses heat by radiation to
the surrounding the rate of heat loss from the fin is proportional to the difference in
fourth powers of the fin temperature and the surrounding, both measured in absolute
degree. The equation reduces to

d2 u
= k(u4 − T 4 )
dx2
where u is the fin temperature, T is the surroundings temperature, and x is the
distance along the fin. k is constant. For a fin of given length L, this is not difficult
to solve numerically if u(0) and u(L) are known. Solve for u(x), the distribution of
temperature along the fin, if T = 300, u(0) = 450 and u(20) = 350, k = 0.23, utilizing
finite difference method for a boundary value problem. Use a value for h small enough
to get temperature accurate to 0.1 degree.

Potrebbero piacerti anche