integral of cos^2(pi x/L)cos(2pi x/L)dx from -L to L