Integral of a Trigonometric Function