Find the range :
The range of f(x) = x−[x]1+x−[x] where [] represents greatest integer function.
The domain of the function f(x)=1log10(1−x)+√x+2 is