Function FunctionWithState
bisection bisectionWithState bracketOut bracketOutWithState falsePosition newton secant