# Integral help

I was wondering what the best way to do this integral was:

Integral of 1+sin(x) all over cos(x)^2

Is subsitution the best way?

$$\int {\frac{{1 + \sin x}}{{\cos ^2 x}}} dx = \int {\frac{1}{{\cos ^2 x}}} dx + \int {\frac{{\sin x}}{{\cos ^2 x}}} dx$$
As he said, the first one is a standard antiderivative, for the second one try $y = \cos x$