5. Given $m>0$. If the function
$$
f(x)=x+\sqrt{100-m x}
$$

has a maximum value of $g(m)$, find the minimum value of $g(m)$.
(2011, National High School Mathematics League Sichuan Province Preliminary Contest)