integral of sin(2x)*sin(x) +cos(2x)*cos(x) from 0 to 2pi