Use integration by parts:
Let and let .
Then .
To find :
The integral of a constant is the constant times the variable of integration:
Now evaluate the sub-integral.
The integral of a constant is the constant times the variable of integration:
Now simplify:
Add the constant of integration:
The answer is:
Use the examples entering the upper and lower limits of integration.