next up previous
Next: Exercise 10.4: The Metropolis Up: Importance Sampling Previous: Importance Sampling

Exercise 10.3: Importance sampling

  1. Choose the weight function $P(x)=e{-x}$ and evaluate the integral:

    \begin{displaymath}
\int _0^{\infty} {x^{3/2}e^{-x}dx}.
\end{displaymath}

  2. Choose $P(x)=e^{-ax}$ and estimate the integral

    \begin{displaymath}
\int _0^{\pi} \frac{dx}{x^2+\cos ^2{x}}.
\end{displaymath}

    Determine the value of $a$ that minimizes the variance of the integral.



Adrian E. Feiguin 2009-11-04