Out of curiosity, I tried to solve the eqation
$$x = \tan x$$
but it was harder than I first thought. Eventually I built an algrothim to solve this eqution 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, excpet 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.