1/2 * integrate (sin (pi*x))^2 dx from x=-1 to 1