integrate (2/pi) sin^2(x) from 0 to pi