A study of periodic potentials based on quadratic splines