Define
,
,
and
where
.
Let A be of the form given in the figure below.
Assignment
Solve the matrix system
for u using the following
for methods:
Solve for both N=4 and N=20. Here N denotes the number of
points used in both the x and y directions
(hence the total number of grid points
is N2 points, which corresponds to the rank of the matrix
for which we are solving). For the serial algorithms,
provide a graphical plot of the solution u[i][j] at the
points (hi,hj) (either a contour or surface plot).
For the parallel algorithms,
show the parallel speed-up using different number of processors
(this will require you to use the MPI_Wtime function to time your
runs).