plot[1/2(1+x/(1+|x|)), {x,-20,20}]