Fix typo in generating_random.md

This commit is contained in:
Andrew Cumming 2023-09-24 19:52:13 -04:00
parent 6da25e6298
commit 4fa825eb90

View file

@ -99,8 +99,8 @@ Try implementing one of the following:
- Power law distribution using transformation method - Power law distribution using transformation method
- Lorentzian distribution with ratio of uniforms - Lorentzian distribution with ratio of uniforms
- Gaussian with ratio of uniforms - Gaussian with ratio of uniforms
- The distribution $f(x) = exp(-|x^3|)$ using the rejection method - The distribution $f(x) = \exp(-|x^3|)$ using the rejection method
- The distribution $f(x) = exp(-|x^3|)$ using the rejection method but sampling from a Gaussian in $x$ - The distribution $f(x) = \exp(-|x^3|)$ using the rejection method but sampling from a Gaussian in $x$
Again compare your answer with the analytic distribution, and in the last two examples, compare the acceptance fraction. Again compare your answer with the analytic distribution, and in the last two examples, compare the acceptance fraction.