Is it possible to analytically solve the expression $x^{x^x}=3$?
And how to solve this problem numerically?
Simply testing some results, I found that $\sqrt{2.6}<x<\sqrt{2.7}$. What matches the result provided by Elliot G in the comments.
But in addition to a numerical solution, like the technique posted by glowstonetrees, is it possible to find a "closed" formula for the solution of this problem?
Quite sure you can't solve this analytically.
On the other hand, there are many numerical methods for solving $f(x)=0$. For example, Newton's method gives the sequence of iterates
$$x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)}$$
for any starting guess $x_0$ that is close enough to the desired solution.
In your case, you would have
$$f(x) = x^{x^x}-3 \qquad \qquad f'(x) = x^{x^x}x^x\bigg( \frac 1x + \ln (x) \big(1+\ln(x)\big)\bigg)$$
So for example you could run a for-loop
\begin{align} & x_0 = 1 \\ & \text{for } n = 0,1,2,\dots \\ & \; \; \; \; \; x_{n+1} = x_n - \frac{x_n^{x_n^{x_n}}-3}{x_n^{x_n^{x_n}}x_n^{x_n}\Big( \frac {1}{x_n} + \ln (x_n) \big(1+\ln(x_n)\big)\Big)} \\ & \text{end} \end{align}