Graphing Sine and Cosine with Amplitude and Period Changes