integral from -1 to 1 x sin(n*pi*x)