Write an equation for a function with the given characteristics. A cosine curve with a period of pi, and amplitude of 1, a left phase shift of pi, and vertical transiation up 5/2 of a unit.