Galerkin's Method