Block diagram of the bisection algorithm

Block diagram for the bisection algorithm

See this example on CodePen