/* sample3 * * Start values: * bisection: 1.0 and 3.0 * secant: 1.0 and 3.0 * * Tolerance of .000001 */ #include float f( float x ) { return exp(x) - 1 - 2*x; }