Graphs of simple harmonic motion

Position in SHM follows a cosine of time, and the velocity is greatest where the position crosses zero, while the acceleration is greatest and opposite to the displacement at the turning points.

From AP Physics 1.