pi / | | (2*sin(x) - 1) dx | / 0
Integrate term-by-term:
The integral of a constant times a function is the constant times the integral of the function:
The integral of sine is negative cosine:
So, the result is:
The integral of a constant is the constant times the variable of integration:
The result is:
Add the constant of integration:
The answer is:
Use the examples entering the upper and lower limits of integration.