Preparing for the exam I bumped into this integral and I just can't get hold on it. It's an integration of a product of an exponential and a trigonometric function. It's going in an endless loop for me.
$$ \int \cos(x)e^{2x} dx $$
Thank you in advance.
P.S. Meanwhile I solved it myself, you can find the solution in the answers below. :)
Ok, thank you guys a lot, I managed to solve it with your help of course. Here how it goes.
$$I = \int e^{2x}cos(x)dx$$
$ \int e^{2x}cos(x)dx = e^{2x}sinx -2\int e^{2x}sin(x)dx $
$ \int e^{2x}cos(x)dx = e^{2x}sinx -2(-e^{2x}cos(x) + 2\int e^{2x}cos(x)dx) $
$ \int e^{2x}cos(x)dx = e^{2x}sinx +2e^{2x}cos(x) -4\int e^{2x}cos(x)dx $
Since $$\int e^{2x}cos(x)dx=I$$
$I = e^{2x}sinx +2e^{2x}cos(x) -4I$
$5I= e^{2x}sinx +2e^{2x}cos(x)$
$I = \frac{e^{2x}sinx +2e^{2x}cos(x)}{5} $
therefore $$ \int e^{2x}cos(x)dx=\frac{e^{2x}sinx +2e^{2x}cos(x)}{5} + C$$
Hope others like me will find it useful. :)