Mark M. answered 05/19/21
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
f(x) = x9e9x, where -2 ≤ x ≤ 1
f'(x) = 9x8e9x + x9(9e9x) = 9x8e9x(1 + x)
f'(x) = 0 when x = 0 or -1
The absolute extrema occur at a critical point or at an endpoint of the interval.
f(-1) = -e-9
f(0) = 0
f(-2) = (-2)9e-18 (absolute minimum)
f(1) = e9 (absolute max)