We have f(x) = (sinx + cosx)ex
f'(x) = (sinx + cosx)ex + ex(cosx – sinx)
f'(x) = ex(sinx + cosx + cosx – sinx)
f'(x) = 2excosx f ≤(x) = 2 (excosx – exsinx)
f ≤ (x) = 2ex(cos x – sinx)
Now, f ≤ (x) = 0 gives 2ex(cosx – sinx) = 0
⇒ tan x = 1
⇒ x = π/4 , 5π/4
By the sign scheme for the function f"(x) = 0, we have f(x) is concave down in (π/4, 5π/4) and concave up in (0, π/4) ∪ (5π/4 , 2π).