Graph the cosine function with changes in amplitude and period.