JEE Main & Advanced
Mathematics
Functions
Question Bank
Functions
question_answer
Let \[g(x)=1+x-[x]\] and \[f(x)=\left\{ \begin{align} & -1,\,\,\,If\,\,x<0 \\ & \,\,0,\,\,\,If\,\,\,x=0, \\ & \,\,1,\,\,\,\,\,if\,\,\,\,x>0 \\ \end{align} \right.\]then for all values of x the value of \[fog(x)\] [DCE 2005]