Category Archives: Monte Carlo

Parallel programming with Python: Recalculating Pi

The previous post illustrated in a simple way the use of Python for scientific computing purposes. This article extends the previous post by introducing the concept of parallel programming. The previous example will be used, so if you haven’t run that yet, I suggest you do that now. Modifications will be made to the previous… Read More »

Python: A Monte Carlo simulation to calculate Pi

Building on the previous post, which covered a very simple example using a for loop, this post will take things up a notch. As discussed before, there are many resources available on the internet for learning Python. This blog doesn’t attempt to teach you Python. Instead it provides exposure on using the Python programming language… Read More »