You can solve it by
Lambert W-function, i.e the inverse function of f(x) = xe
x.
[tex]x ^ x = 13[/tex]
[tex]\Leftrightarrow \ln (x ^ x) = \ln (13)[/tex]
[tex]\Leftrightarrow x \ln x = \ln (13)[/tex]
[tex]\Leftrightarrow (\ln x ) e ^ {\ln x} = \ln (13)[/tex]
[tex]\Leftrightarrow \ln x = W( \ln (13))[/tex]
[tex]\Leftrightarrow x = e ^ {W( \ln (13))}[/tex]
------------------
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
[tex]\x ^ x = 13[/tex]
[tex]\Leftrightarrow \x ^ x - 13 = 0[/tex]
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:
[tex]x_{n + 1} = x_n - \frac{f(x_n)}{f'(x_n)}[/tex], and let n increase without bound to obtain the desired solution, i.e:
[tex]x = \lim_{n \rightarrow \infty} x_n[/tex].
The root of that equation is about 2.641061916.
:)