integral cos^2(x)/pi dx from 0 to 2pi