Next: Sample Programs Up:Main Previous:Hyperbolic Equation
Elliptic equations in two dimensions:
Suppose that R is a bounded region in the
plane with boundary
. The equation
![]() |
(30) |
![]() |
(31) |
![]() |
(32) |
![]() |
(33) |
![]() |
(34) |
subject to
on the boundary of the unit square
. The square region is covered by a grid with sides parallel to the coordinate axes and the grid spacing is
. If
, the number of internal grid points or nodes is
. The coordinates of a typical internal grid point are
,
(
and m integers ) and the value of
at this grid point is denoted by
. Using Taylor's Theorem, we obtain
![]() |
(35) |
![]() |
(36) |
where is a matrix of order
given by
with the unit matrix of order
and
a matrix of order
given by
B
=
The vectors and
are given by
U=
respectively, where denotes the transpose. The elements of the vector U constitute the
unknowns
and the elements of the vector K depend on the boundary values
at the grid points on the perimeter of the unit square. Because of the large number of zero element in the matrix A, iterative methods are often used to solve the system (36).
Next: Sample Programs Up:Main Previous:Hyperbolic Equation