I=∫ex(sec2x+tanx)dx
I=∫exsec2xdx+∫extanxdx
∫udv=vu−∫vdu
u=tanx
du=sec2xdx
dv=exdx⇒v=e2
I=extanx−∫exsec2xdx+∫exsec2xdx
I=extanx+c