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