Animation of a sine wave or sinusoidal wave (sine curve or sine function) and its corresponding cosine wave
SINE WAVES (y = sin x) are ubiquitous. They represent the behaviour of a simple oscillator. This animation illustrates the relationship between a circle (the wheel) and the phase (stage) of the sine wave. As the wheel rotates the attached horizontal pointer traces out a sine wave on the purplish screen. The maximum amplitude of the wave is the same as the radius of the circle (wheel in this case). The height of the wave at any point depends on the sine of the angle that the radius of the circle (yellow line) makes with a horizontal plane (not shown). The labelled diagram at left explains the relationship between the angle, the sine and the resulting sine wave.
COSINE WAVES (y = cos x) are identical to sine waves but are shifted by 1/2 π with respect to the sine wave. At the start, notice how the sine wave has a value of zero and the cosine wave a value of one (we assume the diameter of the wheel is one). The two arms projecting from the wheel are at right angles to each other (i.e. 90 o or 1/2 π) apart and this helps you to visualise the phase difference of 1/2 π between the sine and cosine curves.