We have the function $f(x)=x^2-x-12=0$ with roots $r_1=-3$ and $r_2=4$.
We consider the sequence $x_{n+1}=g(x_n), \ n=0,1,2,\ldots $ where $g(x)=\sqrt{x+12}$.
We want to show that $x_n\rightarrow r_2, \ \forall x_0\in [-3,12]$.
Let $x_n\rightarrow c$ then $x_{n+1}\rightarrow c$. We have that $c=g(c)$ and $c$ must be a root of $f$, which is either $-3$ or $4$.
Is my idea correct? Or do we show in an other way that $x_n\rightarrow r_2$ ?
Your idea is correct, but incomplete.
First you have to show that the sequence converges at all. Hint: Show that the sequence is monotonic and bounded. Distinguish the cases $x_0 < 4$ and $x_0 > 4$.
Then you are correct: If the sequence is convergent then the limit is either $-3$ or $4$. But you have to exclude the possibility that $c=-3$. Hint: $x_n \ge 0$ for $n \ge 1$.