Text this: The Galerkin method for singular nonoscillatory two-point boundary value problems