function f = func(x,a,b)
%  f = exp(x) -2;
   f = tanh(x) + a*x + b;
