Maximum and Minimum on Closed Intervals

Find the absolute max of the function f(x)=cosxexf\left(x\right)=\cos x\cdot e^{-x} on [0,π]\left[0,\pi\right]
More Maximum and Minimum on Closed Intervals Questions: