Transforming Cosine Curve

Drag each slider to transform the cosine curve. What does each constant do to transform the function?