Derivative of exponential functions