integrate sin^2 x from 0 to 2pi