Problem:
Use the bisection method to find a root of the function

f(x) = cos(x) - x.


Visualization:

Since f(0) > 0 and f(1) < 0, we use the bisection method on the closed interval [0,1].

This graph was generated by MPP.


For this visualization, we have detailed instructions for the following software packages: