You can solve it by
Lambert W-function, i.e the inverse function of f(x) = xe
x.
x ^ x = 13
\Leftrightarrow \ln (x ^ x) = \ln (13)
\Leftrightarrow x \ln x = \ln (13)
\Leftrightarrow (\ln x ) e ^ {\ln x} = \ln (13)
\Leftrightarrow \ln x = W( \ln (13))
\Leftrightarrow x = e ^ {W( \ln (13))}
------------------
Or you can get an approximation of it by
Newton's Method.
First, we'll try to rearrange the equation to give the form of f(x) = 0
So
\x ^ x = 13
\Leftrightarrow \x ^ x - 13 = 0
Let f(x) = x
x - 13
Then we differentiate f(x) with respect to x to give:
f'(x) = x
x(ln(x) + 1)
And we choose an arbitrary x
0, say x
0 = 2 (we should graph it first to chose x
0 precisely, we choose x
0 since there's one solution near 2).
And we apply the formula:
x_{n + 1} = x_n - \frac{f(x_n)}{f'(x_n)}, and let n increase without bound to obtain the desired solution, i.e:
x = \lim_{n \rightarrow \infty} x_n.
The root of that equation is about 2.641061916.
:)