Rewriting expressions using exponents and scientific notation