What would the sum $$\sum_{n=1}^{\infty} \frac{|\sin (n x)|}{n^2}$$ evaluate to?
Without the modulus, Wolfram says that $$\sum_{n=1}^{\infty} \frac{\sin (n x)}{n^2}=\frac{1}{2} i\left(\mathrm{Li}_2\left(e^{-i x}\right)-\mathrm{Li}_2\left(e^{i x}\right)\right)$$.
I have two questions:
1.) How did we get $\sum_{n=1}^{\infty} \frac{\sin (n x)}{n^2}=\frac{1}{2} i\left(\mathrm{Li}_2\left(e^{-i x}\right)-\mathrm{Li}_2\left(e^{i x}\right)\right)$?
2.) What is $\sum_{n=1}^{\infty} \frac{|\sin (n x)|}{n^2}$?
Thank you!