The Poisson problem (2.1)--(2.2) has so far featured a general domain \( \Omega \) and general functions \( \ub \) for the boundary conditions and \( f \) for the right-hand side. For our first implementation we will need to make specific choices for \( \Omega \), \( \ub \), and \( f \). It will be wise to construct a problem where we can easily check that the computed solution is correct. Solutions that are lower-order polynomials are primary candidates. Standard finite element function spaces of degree \( r \) will exactly reproduce polynomials of degree \( r \). And piecewise linear elements (\( r=1 \)) are able to exactly reproduce a quadratic polynomial on a uniformly partitioned mesh. This important result can be used to verify our implementation. We just manufacture some quadratic function in 2D as the exact solution, say $$ \begin{equation} \tag{2.12} \uex(x,y) = 1 +x^2 + 2y^2\tp \end{equation} $$ By inserting (2.12) into the Poisson equation (2.1), we find that \( \uex(x,y) \) is a solution if $$ f(x,y) = -6,\quad \ub(x,y)=\uex(x,y)=1 + x^2 + 2y^2,$$ regardless of the shape of the domain as long as \( \uex \) is prescribed along the boundary. We choose here, for simplicity, the domain to be the unit square, $$ \Omega = [0,1]\times [0,1] \tp$$ This simple but very powerful method for constructing test problems is called the method of manufactured solutions: pick a simple expression for the exact solution, plug it into the equation to obtain the right-hand side (source term \( f \)), then solve the equation with this right-hand side and try to reproduce the exact solution.