Find the integral of (e^cosx)sinx

how about -e^cosx + c

(differentiate it to test my answer)