Find the location of the indicated absolute extremum within the specified domain.

Maximum of f(x) = x^2 - 4 ; [-1, 2]

f'(x) = 2x

f'(x) = 0

2x = 0 => x = 0 ( what extremum is this?)

f(x) = x^2 - 4

f(-1)= 1 - 4 => f(-1) = - 3 (what extremum is this?)

f(2)= 4 - 4 => f(2) = 0 (what extremum is this?)

( and also do i have it done right?)

Thank you