Finding the zeros of the function the bisection method