Converting between logarithmic and exponential equations