Exponentiation and solving equations