globalL2Error

uses quadrature 2 from the course