Look here, man. Expand them cosines, so the whole thing turns out as 

, where 

 and 

 are merely two big ugly piles of junk. Then join them together again, like 

. Now, no matter what that 

 may be, we know for sure that our peaks and zeros are precisely 

 apart. Well, 

 or whatever.