how to calculate exponential functions - Search