second derivative sqrt(e^(ax)/a)+sqrt(a^(e^x)/e^x)