4 / | | / /pi*x\\ | |1 - cos|----|| dx | \ \ 2 // | / 0
Integral(1 - cos(pi*x/2), (x, 0, 4))
Integrate term-by-term:
The integral of a constant is the constant times the variable of integration:
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 cosine is sine:
So, the result is:
Now substitute back in:
So, the result is:
The result is:
Add the constant of integration:
The answer is:
/ /pi*x\ | 2*sin|----| | / /pi*x\\ \ 2 / | |1 - cos|----|| dx = C + x - ----------- | \ \ 2 // pi | /
Use the examples entering the upper and lower limits of integration.