\(I=\int\limits^{\dfrac{\pi}{2}}_0\left(1+cosx+x.cosx\right)e^{sinx}dx=\int\limits^{\dfrac{\pi}{2}}_0e^{sinx}dx+\int\limits^{\dfrac{\pi}{2}}_0\left(x+1\right).cosx.e^{sinx}dx=I_1+I_2\)
Xét \(I_2\), đặt \(\left\{{}\begin{matrix}u=x+1\\dv=cosx.e^{sinx}dx\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}du=dx\\v=e^{sinx}\end{matrix}\right.\)
\(\Rightarrow I_2=\left(x+1\right).e^{sinx}|^{\dfrac{\pi}{2}}_0-\int\limits^{\dfrac{\pi}{2}}_0e^{sinx}dx=\left(\dfrac{\pi}{2}+1\right)e-1-I_1\)
\(\Rightarrow I=I_1+\left(\dfrac{\pi}{2}+1\right)e-1-I_1=\left(\dfrac{\pi}{2}+1\right)e-1\)