A simple Monte Carlo simulation using Python and matplotlib library

Monte Carlo python simulation

A simple Monte Carlo simulation using Python and matplotlib library.

Install linux dependencies

sudo apt update
sudo apt install build-essential 
                 software-properties-common 
                 python3-pip 
                 python3-distutils

Create environment and install python dependencies

pip3 install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Preview

Figure_1

Figure_2

Figure_3

Figure_4

Figure_5

Figure_6

Figure_7

Figure_8

GitHub

https://github.com/samuelterra22/Monte-Carlo-Python-Simulation

 

 

 

To finish reading, please visit source site