For functions defined by infinite nested expressions like $y = \sqrt{f(x)+\sqrt{f(x)+...}}$, you can write them as a simple equation, $y = \sqrt{f(x)+y}$. Squaring both sides gives $y^2 = f(x)+y$, which can then be easily differentiated using implicit differentiation.