Mathematically, as mfb said, the summation of a sine and cosine is the solution to the differential equation that governs simple harmonic motion. For a mechanical oscillator, this equation is mx''+kx = 0, and the general solution is x(t) = c1*cos(wt+p)+c2*sin(wt+p). If you want a more intuitive...