I'm trying to solve this integral: $$ \left(\int_{-\infty}^{\infty}\frac{1}{\sqrt{2\pi}\sigma}e^\frac{-x^2}{2\sigma^2}\left(\int_{x}^{\infty}\frac{1}{\sqrt{2\pi}\sigma}e^\frac{-(y-\mu)^2}{2\sigma^2}dy\right)^ndx\right)^k $$ and that is what i found in one of post: NIntegrate[((1/(Sqrt[2*Pi]*\[Sigma]))*Exp[-(x^2/(2*\[Sigma]^2))])* ((1/(Sqrt[2*Pi]*\[Sigma]))* Exp[-((y - \[Mu])^2/(2*\[Sigma]^2))]), {x, -Infinity, Infinity}, {y, x, Infinity}]^k dont know where to put the 'n' power ?