Given a graph of f' learn to find the points of inflection