I was just trying to find $$\int_{0}^{\pi / 2}\frac{\sin{9x}}{\sin{x}}\,dx $$ using an online integral calculator. And surprisingly I found that if I replace $9x$ by $ x,3x,5x$ which are some odd multiples of $x$ the value of integral came out to be $\dfrac \pi 2$.
I can't figure out the reason and would like to know why this is happening.
Edit: It can also be noted that $$\int_{a{\pi}}^{b\pi }\frac{\sin{9x}}{\sin{x}}\,dx =(b-a){\pi}$$ where $a,b$ are integers.