# How do you solve for x in e^x = 5 ?

Take $\ln \left(\right)$ on both sides.
$\ln \left({e}^{x}\right) = x = \ln \left(5\right)$