What is the expectation of an exponential function: $$\mathbb{E}[\exp(A x)] = \exp((1/2) A^2)\,?$$
I am struggling to find references that shows this, can anyone help me please?
I am assuming Gaussian distribution.
A is a constant and x is a random variable that is gaussian distributed.