Patrick F. answered 01/19/24
Tutor
5
(14)
Inspiring Math Teacher with 20+ years of experience
Let's try a u substitution to simplify a bit.
Let u = cos(x)
then du = -sin(x) dx
-du = sin(x) dx
∫sinx*ecos(x)dx
∫eu(-du) = -eu + c = -ecos(x) + c