1 / | | 2*x | cos(x)*e dx | / 0
Integral(cos(x)*exp(2*x), (x, 0, 1))
Use integration by parts, noting that the integrand eventually repeats itself.
For the integrand :
Let and let .
Then .
For the integrand :
Let and let .
Then .
Notice that the integrand has repeated itself, so move it to one side:
Therefore,
Now simplify:
Add the constant of integration:
The answer is:
/ | 2*x 2*x | 2*x e *sin(x) 2*cos(x)*e | cos(x)*e dx = C + ----------- + ------------- | 5 5 /
2 2 2 e *sin(1) 2*cos(1)*e - - + --------- + ----------- 5 5 5
=
2 2 2 e *sin(1) 2*cos(1)*e - - + --------- + ----------- 5 5 5
-2/5 + exp(2)*sin(1)/5 + 2*cos(1)*exp(2)/5
Use the examples entering the upper and lower limits of integration.