Solve the equation $$x+\sqrt{x+\frac12+\sqrt{x+\frac14}}=4$$
Actually I have solved this question but I want to know other methods of solving this question. It's not that I am curious for just elementary methods but you all can give solutions using advance maths too (which I'll see and learn). I am posting my solution as an answer.
I hope many elegant solutions come :).
$$x+\sqrt{x+\frac12+\sqrt{x+\frac14}}=4\tag1$$ Since we have $$x+\frac12+\sqrt{x+\frac14}=x+\frac 14+\frac 14+\sqrt{x+\frac14}=\bigg(\frac 12+\sqrt{x+\frac14}\bigg)^2$$ we get $$x+\frac 12+\sqrt{x+\frac14}=4\tag2$$ From $(1)(2)$, we get $$x+\sqrt 4=4$$ i.e. $$x=2$$ which is sufficient.