I don't know how to solve this: $$x^2-\cos(x)=0$$ I know it's easy but I don't know how to start.
My attempt
As I've already said, I don't know how to start but this is what I tried.
$$x^2-\cos(x)=0$$ $$x^2=\cos(x)$$ $$x^4=\cos^2(x)$$ $$x^4=\frac{1}{\tan^2(x)+1}$$ $$\tan^2(x)x^4=\frac{\tan^2(x)}{\tan^2(x)+1}$$ And it goes on and on and on... nowhere. What I find hard is that the first term is a variable and the second one is trigonometric function and because of that I can't find a "common ground" i.e. a way that I can manipulate with them at the same time.
It unfortunately does not have a nice solution. We can rearrange it to get: $$x=\sqrt{\cos(x)}$$ then iterate: $$x_{n+1}=\sqrt{\cos(x_n)}, x_0=1$$ To find an approximate solution of $x\approx 0.8241323123$.
Then we can also note that the negative of this holds, so $x\approx\pm0.8241323123$