Here is the original problem

(Sin(x))^2/ cos(x)

I used an identity and converted the numerator to 1 - (cos(x))^2

I broke apart the fraction and got

1 / cos(x) - cos(x)

I know how to integrate cos(x) but I haven't a clue as to how to integrate sec(x). Any help or hints is appreciated!

Thansk in advance