Example 4 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.
Plot[x Cos[x], {x, 0, 20}]-Graphics-min = FindMinimum[x Cos[x], {x, 2}]{-3.2883713955908966, {x -> 3.4256184594817283}}pt = Reverse[Cases[min, _ ? NumberQ, Infinity]]{3.4256184594817283, -3.2883713955908966}Plot[x Cos[x], {x, 0, 20}, Epilog -> {PointSize[Medium], Point[pt]}]-Graphics-All recipes · Function reference · Use this from an MCP client