function [root] = stepOff( f, xl, xu, n )
% Solution to question 2, crudely approximating a root of f by stepping
% through n possibilities between xl and xu.

deltaX = ( xu - xl ) / n;

root = xl + deltaX;
while f( root ) < 0
    root = root + deltaX;
end

end
