#include #include #include unsigned sleep(unsigned seconds); double f(double x); void bisection(double x0, double x1, double tol, int max_itno); // Driver program int main() { // Initial values double a =-30, b = 30; bisection(a, b,1e-16,10000); return 0; } void bisection(double x0, double x1, double tol, int max_itno) { int i; double x; if (f(x0) * f(x1) >= 0) { printf("You have to choose an initial interval such that f(x0)f(x1)<0\n"); return; } i=0; x = x0; while (fabs(x1-x0) >= tol&&i