The domain of the function f(x)=1log10(1-x)+x+2 is
(2)
x+2≥0⇒x≥-2
∵ log10(1-x)≠0⇒1-x≠1⇒x≠0
Again, 1-x>0⇒x<1
All these can be combined as -2≤x<0 or 0<x<1