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