I want to write the following function to wolframalpha
which means this function is defined by a different expression for x<0, 0<=x<=1 and x>1 by