f(x)=exp(x^n)