This program uses two ways of iterative solution to solve function
First create the object:
MethodName<x_typename> NewtonSolution(x0, target_error, the_function, derivative_func);
Then call the iterate() method:
NewtonSolution.iterate();
Look 'IterativeSolutionTest.cpp' file for examples.
Generate the IterativeSolution class and change the method.