Integrate the function. ∫ex(sinx+cosx)dx.
Let I=∫ex(sinx+cosx)dx. Let f(x)=sinx⇒f′(x)=cosx⇒then,I=∫ex[f(x)+f′(x)]dx We know that ∫ex(f(x)+f′(x))dx=exf(x)∴I=exsin.x+C
Integrate the following functions. ∫sinx1+cosxdx.