Find the value of a such that the area bound between the curves $e^{(ax^2)}$ and $e^{1/8}$ and the lines x = 0 and x= 1 is minimum
I found out the point of intersection $\frac{1}{2 \sqrt{2a}}$ then found out the area after that used Newton lebnitz theorem and differentiated the function with respect to $a$. The issue I'm facing is that the final term I have to solve to obtain the value of a is of the form $$x^2 e^{x^2}$$