If f:R→R is defined by f(x)=2x−2[x] for x∈R, where [x] is the greatest integer not exceeding x, then the range of f is
x∈R;0≤x≤1
{0, 1}
x∈R;x>0
x∈R;x<0
x∈R⇒∃n∈Zn≤x<n+1
∍[x]=n⇒2n≤2x<2n+2⇒[2x]=2n
or
2n+1⇒[2x]=2[x]
or 2[x]+1⇒[2x]=2[x]
or 1⇒f(x)=0 or 1⇒range={0,1}