|x|=\frac\pi 2-\frac 4\pi\sum_{n=0}^\infty\frac{\cos((2n+1)x)}{(2n+1)^2}