By the fundamental theorem of calculus $f'(x)=e^x(x-1)(x-2)$. Since $e^x>0$, the sign of $f'$ is the sign of $(x-1)(x-2)$, which is negative only between the roots, for $1<x<2$. So $f$ decreases on $(1,2)$.
More Calculus: Maxima and minima questions
GATE 2021 EE Q13– Let f(x) be a real-valued function such that f'(x 0)=0 for some x 0(0,1), and f''(x)>0 for…
GATE 2020 EE Q36– For real numbers, x and y, with y=3x2+3x+1, the maximum and minimum value of y for x[-2,0]…
GATE 2018 EE Q53– Let f(x)=3x3-7x2+5x+6. The maximum value of f(x) over the interval [0,2] is (up to 1…
GATE 2016 EE Q11– The maximum value attained by the function f(x) = x(x - 1)(x - 2) in the interval [1, 2]…