Mark M. answered 09/04/24
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
∫ sin2(ex)cos(ex)exdx
Let u = sin(ex). Then du = cos(ex)exdx
So, we have ∫u2du = (1/3)u3 + C = (1/3)sin3(ex) + C
----------------------------
For the second problem, apply the product rule.