Let X be a hemicompact k-space and A be a uniform Frechet algebra on X. In this note we first show that if each element of a dense subset of A has square root in A then A=C(X) under certain condition. Then we show that G(C(X)), the group of invertible elements of C(X), is dense in C(X) if and only if dimX, the covering dimension of X, does not exceed 1. Using this result we give a necessary and sufficient condition under which each continuous function on X is the square of another