function y=df(x)

y = 1 - exp(-x^2)*(-2*x);
