The code was running with 20 elements. The appearance of the results is shown bellow:
Figure 6:
The results of the code.
We can note that the local behavior of the spike is very well computed. The L2
and H1 norm are used to measure the errors between the exact solution
and the calculated solution: