Indefinite integral - example 14

Calculation a indefinite integral of function f(x)=(1-cos2(x))/sin(x). Pythagorean identity is applied during calculations. Application of Pythagorean identity allows to recalculate function to form of elementary function. Pythagorean identity → sin2x + cos2x = 1.