next up previous
Next: Variance reduction Up: Monte Carlo error analysis Previous: Exercise 10.1: One dimensional

Exercise 10.2: Importance of randomness

To examine the effects of a poor random number generator, modify your program to use the linear congruential random number generator using the perameters $a=5$, $c=0$ and the seed $x_1=1$. Repeat the integral of the previous exercise and compare your results.

Adrian E. Feiguin 2009-11-04