4. Given that $m$ and $n$ are rational numbers, and the equation $x^{2}+$ $m x+n=0$ has a root $\sqrt{5}-2$. Then the value of $m+n$ is $\qquad$ .
4. Since $m, n$ are rational, the other root is $-\sqrt{5}-2$, thus by Vieta's formulas,
$$
\begin{array}{l}
w:=4, n=-1 . \\
\therefore m+n=3 .
\end{array}
$$