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