Read the result
The tool reports the best grid point and the number of function evaluations, so method cost stays visible.
Optimisation
Sample an interval, check endpoints, and keep the best value found.
Formula
sample candidates, keep the best value, then refine the interval or step size
Numerical search is useful when a derivative is awkward, unavailable, or only a table of values exists.
Read the result
The tool reports the best grid point and the number of function evaluations, so method cost stays visible.
Where it helps
Use it when a derivative is awkward or when the objective is only available by evaluation.
Common slip
A grid can miss a narrow optimum between sample points. Refinement matters.
Try it
Increase the step size and see how quickly the search becomes cheaper but less precise.