pi / | | (2*sin(x) - cos(x)) dx | / 0
Integral(2*sin(x) - cos(x), (x, 0, pi))
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:
/ | | (2*sin(x) - cos(x)) dx = C - sin(x) - 2*cos(x) | /
Use the examples entering the upper and lower limits of integration.