Potential Functions for Sinusoidal Oscillations