sgn(1/4*(1-t/2+|1-t/2|)^2)*sqrt(|1/4*(1-t/2+|1-t/2|)^2|)+D[1/4*(1-t/2+|1-t/2|)^2,{t,1}]