#include #include double f(double x); void secant(double x0, double x1, double tol, int max_itno); void plotfunction(double x0, double x1,int N); // Driver program int main() { // Initial values double x0 =-4, x1 = -3; secant(x0, x1,1e-16,10000); plotfunction(-10, 10,1000); return 0; } // Prints root of func(x) with error of EPSILON void secant(double x0, double x1, double tol, int max_itno) { int i; double x; FILE *output; output = fopen("secant.dat", "w");//opening file. i=0; x=x1; while (fabs(f(x)) >= tol&&i