Code to generate the plots of the two convection-diffusion examples 10.2.2.30 (7.2.2.30) and 10.2.2.31 (7.2.2.31) in the lecture notes.
The code also generates the two plots for Example 10.2.2.15. This example analyses exactly the same problem as 10.2.2.30 (but compares Upwind vs Standard FEM instead of Upwind vs SUPG)
The implementation of the Upwind method relies on some code from the "UpwindQuadrature" homework problem for local computations. This creates some dependency on that particular homework problem, but I think this is better than to duplicate the code.
Example 10.2.2.30
Example 10.2.2.31