# Evaluate the integral by any method. {eq}\displaystyle \int_{\frac{\pi}{2}}^{\pi} -9\sin(x)(\cos(x) + 1)^2\text{ d}x {/eq}

## Question:

Evaluate the integral by any method.

{eq}\displaystyle \int_{\frac{\pi}{2}}^{\pi} -9\sin(x)(\cos(x) + 1)^2\text{ d}x {/eq}

## Integration using Substitution:

Substitution method is typically applied to integrands that contain a term and at least a part of its derivative. In this method, we first assign an arbitrary variable to an expression, then obtain a corresponding value to its differential variable. For definite integrals, the limits of integration are also changed.

$$\int_{\frac{\pi}{2}}^{\pi} -9\sin(x)(\cos(x) + 1)^2\text{ d}x \\$$