function gradf=gradf0(x) gradf=(exp(x)-exp(-x))/(exp(x)+exp(-x));