The function is
.
Anti derivative of cosine function is
.
Anti derivative of sine function is
.
Therefore the anti derivative of
is

, where
is a constant.
Verification :
\The function is
.
Apply derivative on each side with respect to
.

.
.