Note: You can get full credit for this problem by just entering the final answer (to the last question) correctly. The initial questions are meant as hints towards the final answer and also allow you the opportunity to get partial credit.

Consider the indefinite integral

Then the most appropriate substitution to simplify this integral is where
=
Note: We are using as variable for angles instead of , since there is no standard way to type on a computer keyboard.

After making this substitution and simplifying (using trig identities), we obtain the integral where
=

This integrates to the following function of
=
After substituting back for in terms of we obtain the following final form of the answer:

You can earn full credit by answering just the last part.