Intro to Monte Carlo Techniques: Using Python and Random Numbers to Estimate the Value of Pi

3 years ago
79

Let’s look at using random numbers to do some simple calculations. This in a very brief introduction to Monte Carlo techniques using Python and Numpy. We will calculate an approximate value of pi. This code is extremely simple, but will lay the groundwork for more complicated calculations. For the next Monte Carlo videos, we will look at calculating the probability of a stock reaching a given price in a set time interval, then look at the probability of making 50% of max profit on a short options position

Github: https://github.com/kpmooney/numerical_methods_youtube/tree/master/monte_carlo_pi

Donate: http://paypal.me/kpmooney

Loading comments...