Input: function f, negative and positive arguments x- and x+ Loop a few times Set x to the average of x- and x+ If f(x) is negative, replace x- by x else replace x+ by x End loop Output: updated values of x- and x+