H1-Galerkin Methods for the Laplace and Heat Equations