f(x)=x-cosx
find the root by using bisection method
find the root by using bisection method