Multiple solutions for a Sturm-Liouville problem with periodic boundary conditions