1)$\displaystyle \int_{0}^{\frac{\pi }{2}}x^2 cos2x dx$

2)$\displaystyle \int_{0 }^{\pi }e^x sin2x dx$

work iv done so far.

1)$\displaystyle uv-\int v du$

$\displaystyle \frac{x}{2}sin 2x -\int x sin 2x dx$

2)$\displaystyle uv-\int v du$

$\displaystyle sin 2x e^x-\int e^x \frac{1}{2} cos 2x dx$

am i doing these right? I think i am doing them wrong can anyone help?

thanks for the help in advance