Pages

Using random to generate pi

I moved this post to Biting Code, my blog dedicated to JVM languages.

You can see it just as a clever trick, but it is useful as an example of a different way of thinking. It shows how we can use the properties of a pseudo-random sequence to infer results that sometimes would be difficult to get using classic methods.

No comments:

Post a Comment