Let $f:\mathbb{R} \rightarrow [0,\infty)$ be a continuous function such that $g(x) = (f(x))^2$ is uniformly continuous. Prove or disprove that $f$ is uniformly continuous.
According to me $f$ should be uniformly continuous but I am facing difficulty in proving that.
Thanks in advance!