integrate (2 (cos(n t)-n t sin(n t)))/n^2 dt from 0 to 2*pi