derivative (x- a)/(b*(1 + exp(a - x)))