Graph the following function:
y=3sin(2x−π/2)−2
Drag the black dot to shift your graph in the desired direction. Use the blue draggable dot to change the period. Drag the orange dot to change the amplitude and/or reflect with respect to the x-axis. The horizontal distance between the vertical dotted green lines corresponds to one period.