Exploring a Sinusoid

The sliders for A, B, C, and D can be used to explore the effect of the parameters A, B, C, and D on the graph of y = A sin( B(x - C)) + D or y = A sin( B(x - C)) + D. Input g(x) = sin(x) or g(x) = cos(x). The red graph is the graph of y = sin (x) or y = cos(x) and remains fixed. The black graph is the graph of i]y[/i] = A sin( B(x - C)) + D or y = A sin( B(x - C)) + D.and will change as the values of A, B, C, or D are changed.