Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
$\int_{0}^{1}u^k\cot{\frac{\pi(1-u)}{m}}\sin{\frac{2\pi n(1-u)}{m}}\,du$