Trigonometric substitution, Integration