-
-
home
-
-
PDF (letter size)
Symbolic generating of system equations for 2D
regular grid for solving the Laplace equation using
finite difference method
Math 228A, UC Davis, Fall 2010 Compiled on January 30, 2024 at 5:54pm
When solving the above equation using finite difference method on square, in order to make
it easy to see the internal structure of the A matrix using the standard 5 points Laplacian
scheme, the following is a small function which generates the symbolic format of these
equations for a given , the number of grid points on one edge. At the end of this note, the
system equations are generated for . One can see the form of the matrix with the dominant
diagonal.
- HTML
- PDF
- Mathematica notebook