Out of curiosity, I tried to solve the equation
$$x = \tan x$$
but it was harder than I first thought. Eventually I built an algorithm to solve this equation using the bisection method. But, is there any way to arrive to an exact solutions?
I tried using Taylor series of both $\frac{\sin(x)}{\cos(x)}$ and $\tan(x)$, but in both cases, except for $x = 0$, all the solutions were complex (I only try to find real solutions), and every time I tried to use Euler's formula, I reached a dead end.