integrate[(1/2)xe^(x^2)*(e^(x-x^2)-1),{x,0,1}]