average of (sin x)^2 from 0 to 2 pi