y=1/2 abs(x)