Trigonometric identities and integrating techniques