Relax the assumption about no local extrema and change the program to find a maxima or minima instead.
Further relax assumption about function (but require it to be smoothly and slowly changing) and find multiple zeros or extrema. Give a quantitative statement about the assumptions you are making.