solving natural exponential equations