exploring a problem I have introduced a function:
$$I(x)=\int_0^{\pi/2}xe^{-x\sin t} dt.$$
To my surprise the maximum of the function appears to be achieved at a value seemingly equal to $e$. I have checked it by computing the derivative of the function:
$$\frac{dI}{dx}=\int_0^{\pi/2}e^{-x\sin t}(1-x\sin t)\ dt$$ by an online integrator and have got $x_{\rm max}\approx0.9996e$. I am not however aware of the possible integration errors of the routine.
Could you please check it with a tool providing not only the result of the integration but also its error? Of course an analytical proof of the equality or inequality would be even more appreciated.