Use the Centered in Space scheme and approximate the solution to the partial differential
equation:
$$u_{xx} + u_{yy} = 0, 0 \leq x \leq 2, 0 \leq y \leq 1$$
subject to the boundary conditions:
$$u(0,y) = 1 - y, u(2,y) = 3y, 0 \leq y \leq 1$$
and
$$u(x, 0) = x, u(x, 1) = x^2, 0 \leq x \leq 2$$
Page 1 of 2
1. Use $h = k = \frac{1}{2}$ and set up the matrix system to be solved.
(10)