Experimental Determination of the Maximum of a Function