pi -- 2 / | | / 1 \ | |------- - 2*cos(x)| dx | | 2 | | \sin (x) / | / 0
Integral(1/(sin(x)^2) - 2*cos(x), (x, 0, pi/2))
Integrate term-by-term:
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:
Don't know the steps in finding this integral.
But the integral is
The result is:
Now simplify:
Add the constant of integration:
The answer is:
/ | | / 1 \ cos(x) | |------- - 2*cos(x)| dx = C - 2*sin(x) - ------ | | 2 | sin(x) | \sin (x) / | /
Use the examples entering the upper and lower limits of integration.