integrate 2 sin^4(x) - 1 from 0 to 2 pi