Use the intermediate value theorem to find the value of c such that f(c) = M.

f(x) = x2 − x + 1 on [1, 12]; M = 13

f'(x) = 2x-1

so f'(7) = 13
7 is in [1,12]