Answer:
Your process is indeed correct!
The full solution is:

Explanation:
We want to evaluate the integral:

As you had done, we can rewrite our integral as:

Using the Pythagorean Identity, this is:

Now, we can make a substitution. Let u = cos(x). Then:

Substitute:

Simplify:

Rewrite:

By the Reverse Power Rule:

Simplify:

Back-substitute:
