Finding the equation of an exponential function.