base equation for exponential function