The correct option is B –1
The given integral is ∫π20[cosx−sinx]ex dx
=∫π20[cosx+(−sinx)]ex dx
Now, if f(x) = cos x, then, f'(x) = - sin x
The above integral can be written as ∫π20ex(f(x)+f′(x))dx
The value of the integral is [exf(x)]π20
=[ex cos x]π20
=eπ2×cosπ2−e0×cos0
=0−1=−1