2
It is important to use integration limit
\(-\pi \cdots \pi \)
and not
\(0\cdots 2\pi \)
.