What is the value of ∫ 0^ πœ‹ 2 π‘₯ cos(x)dx?

What is the value of ∫ 0^ πœ‹ 2 π‘₯ cos(x)dx?

Explanation

Use integration by parts:
Let ,

Then:

Evaluate from 00 toΒ Ο€/2


= left( frac{pi}{2} cdot 1 + cosleft( frac{pi}{2} right) right) - left( 0 + cos(0) right) = frac{pi}{2} - 1