\(\int e^x.\cos xdx\)
= \(\int\cos xd\left(e^x\right)\)
= ex . cos x - \(\int e^xd\left(\cos x\right)\)
= ex cos x + \(\int\sin x.e^xdx\)
= ex cos x + \(\int\sin xd\left(e^x\right)\)
= ex cos x + sin x . ex - \(\int e^xd\left(\sin x\right)\)
= ex ( cos x - sin x ) - \(\int e^x.\cos xdx\)
= \(\int e^x.\cos x=\dfrac{e^x\left(\cos x+\sin x\right)}{2}\)
Vậy a = b = \(\dfrac{1}{2}\)