Thaks, They said: beats occur in sound when two sources emit frequencies that are almost the same. The perceived wave is the sum of the two waves, so that at your ear, the wave is the sum of the two cosines of w1t and w2t...( my w means omega ) use complex algebra two evaluate this. The sum is the real part of e^(w1t)+e^(w2t). notice the two identities w1= (w1+w2)/2 + (w1-w2)/2. Use the complex exponentials to drive the results; dont't just look up some trig identity.
What I did is , because they said the sum is the real part of e^(w1t)+e^(w2t) I wrote this in term of course and sine: (cosw1t + i sinw1t) + (cosw2t + i sinw2t)
(cosw1t + cosw2t) + i (sinw1t + sinw2t)
the real part is cosw1t + cosw2t
Im done!