Make the FEM Codes using piecewise linear function
and then analyze the error for the following two problems.

Let and let be its boundary.
Let  h  be the uniform mesh-size particularly denoted by step-size of x (and y)-axes.

Use
            

1. The Dirichlet Problem :

     

2. The Neumann Problem :