If a sinusoidal function starts on the midline at point (0,5), has an amplitude of 2, and a period of 8, write an equation with these features.