Galerkin Method