/Monte-Carlo-Python-Simulation

A simple Monte Carlo simulation using Python and matplotlib library

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Monte Carlo python simulation

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

  • f(x) = x

  • f(x) = x^2

  • f(x) = x^3

  • f(x) = x^6

  • f(x) = sin(x)

  • f(x) = x^2/log(x)

  • f(x) = tg(x)

  • f(x) = log(x)