Sinusoid - Vertical Shift

The slider for D can be used to explore the impact of the parameters D on the graph of a function of the form g(t) = sin(t) + D or g(t) = cos(t) + D. The red graph is the graph of y = sin(t) or y = cos(t) and remains fixed. The black graph is the graph of y = sin(t) + D or y = cos(t) + D and will change as the value of D is changed.