Step 1:
\The function is
.
The anti derivative of the function means integration.
\
.
Apply integrate on each side with respect to
.

Apply the trigonometric integration:
.
Step 2:
\
.
Substitute
in above function.

Substitute
in function
.

Step 3:
\

Apply integrate on each side with respect to
.

Apply the trigonometric integration:
Apply the constant rule of integration:
.
.
Substitute
in above function.

Substitute
in function
.
.
Solution :
\
.