So I have this:
a=14;
max = FindMaximum[x^3 - a x^2 - x + 1, {x, -2, 15}]
(* {1.01781, {x -> -0.0355787}}*)
And I plotted this:
Plot[f1[a, x], {x, -.5, .5}, Epilog ->
{PointSize[Medium], Red, Point[{-0.0355786613147075`, 1.0178118484082224`}]}]
But it's not neat enough. So I tried to put in max
in the commands.
Plot[f1[a, x], {x, -.5, .5}, Epilog -> {PointSize[Medium], Red, Point[{max}]}]
But it failed since max
Coordinate {1.0178118484082224`, {$CellContext`x -> -0.0355786613147075}} should be a pair of numbers, or a Scaled or Offset form.