I am trying to compute the weigth of an ellipse with the density: $\exp(-r^2/2)$ or:

$M_2=\int_{U} \frac{1}{(2\pi)}\exp\Big(-\frac{(x^2+y^2)}{2}\Big)\; dx dy \quad\text{et}\quad U=\Big\{ \frac{x^2}{a^2}+\frac{y^2}{b^2}<1\Big\}$ and more generally:

$M_n=\int_{U}\frac{1}{{(2\pi)}^{n/2}}\exp\Big(-\frac{1}{2}\Big(x_1^2+\cdots+x_n^2\Big)\Big)\; dx_1\cdots dx_n\quad\text{et}\quad U=\{ \frac{x_1^2}{a_1^2}+\cdots+\frac{x_n^2}{a_n^2}<1\}$

Simple variable substitutions (polar, rational) don't work. I believe that one needs use improper convergent integrals and use the residue theorem. This seems to be a delicat matter.

Thanks for your help.

JP