Galerkin method could be used to approximately calculate the target function of a binary boundary value problem (BVP). See details from my lecture project report.