Numurical.h A C++ class for basic numerical calculations. Contact : bingul(at)gantep.edu.tr ChangeLog 07.03.2014 The class is first written. 07.03.2014 Function-base methods are added. 11.03.2014 Array-base and vector-base methods are added.
output for the function f(x)=exp(x)-3*x*x;
*** Function-base methods *** Root of f(x) : 0.910008 Optimum value of f(x) : 2.83315 Integral of f(x) : 0.718282 1st derivative of f(x): -1.35128 2nd derivative of f(x): -4.35128 *** Array-base methods *** The integral is: 4.75 *** Vector-base methods *** The integral is: 4.75