BVMs for computing Sturm-Liouville symmetric potentials