1 / | | / 2 \ | \x *cos(x) + 2/ dx | / 0
Integral(x^2*cos(x) + 2, (x, 0, 1))
Integrate term-by-term:
Use integration by parts:
Let and let .
Then .
To find :
The integral of cosine is sine:
Now evaluate the sub-integral.
Use integration by parts:
Let and let .
Then .
To find :
The integral of sine is negative cosine:
Now evaluate the sub-integral.
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 integral of a constant is the constant times the variable of integration:
The result is:
Add the constant of integration:
The answer is:
/ | | / 2 \ 2 | \x *cos(x) + 2/ dx = C - 2*sin(x) + 2*x + x *sin(x) + 2*x*cos(x) | /
2 - sin(1) + 2*cos(1)
=
2 - sin(1) + 2*cos(1)
2 - sin(1) + 2*cos(1)
Use the examples entering the upper and lower limits of integration.