An example of a perturbation-type extremum controller