ali_er wrote:
hi
i really like to know how to solve this integrate using complex analysis theory:
Integrate[Cos[3 x]^2/(5 - 4 Cos[2 x]), {x, -Pi, Pi}]
i tryed to solve this using numerical methods, but i want to know the complex analysis solvation.

(by periodicity)
You want to use that

on the unit circle to convert that integral into a path integral around

, counterclockwise, et cetera. Since you have a

you'll need to actually do

on the unit circle, but then it will be an easy rational function with no zeros or poles on the boundary.