NIntegrate[(Cos[20 x] - Cos[19 x])/(1 - (Cos[x] + Cos[y])/2), {x, -Pi, Pi}, {y, -Pi, Pi}]