pi / | | /x\ | 4*sin|-| dx | \2/ | / 0
Integral(4*sin(x/2), (x, 0, pi))
The integral of a constant times a function is the constant times the integral of the function:
Let .
Then let and substitute :
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:
Now substitute back in:
So, the result is:
Now simplify:
Add the constant of integration:
The answer is:
/ | | /x\ /x\ | 4*sin|-| dx = C - 8*cos|-| | \2/ \2/ | /
Use the examples entering the upper and lower limits of integration.