## Monte-Carlo ENGRAMS

Calculating pi with Monte Carlo simulation

I came across Monte Carlo sampling in a class on Bayesian statistics, where a Markov Chain Monte Carlo (MCMC) sampler was used to approximate probability distributions that were otherwise hard to calculate due to nasty integrals. This posts illustrates the basic idea of Monte Carlo sampling, by using it to approximate the number $$\pi$$. The basic procedure is as follows: Take a circle with radius $$r$$ The area of the circle is $$\pi r^2$$ Draw a containing square which then has area …

See archives for more ...

## Latest micros

#### GNU Mailman

↬ For later reference, if I ever consider self-hosting a mailing service.

An IndieWeb Webring 🕸💍