Python 3 application which integrates function given by user, using Monte Carlo Method. For full list of functions available look here: https://github.com/glenfletcher/Equation/blob/master/doc/source/Functions.rst. Algorithm is also availabe for Ardunio, and it's located in /src
directory
Library |
Version |
Python |
3.7.3 |
numpy |
1.16.2 |
pyqtgraph |
0.10.0 |
Equation |
1.2.1 |
File |
Description |
monteCarlo.py |
Monte Carlo Method script without GUI |
monteCarloWithGraph.py |
Monte Carlo Method script with GUI |
monteCarloWithGraph.bat |
Run script on Windows |
src/MonteCarloIntegration_Example1/MonteCarloIntegration_Example1.ino |
First example (calculate value of PI number) |
src/MonteCarloIntegration_Example2/MonteCarloIntegration_Example2.ino |
Second example |
src/MonteCarloIntegration_Example3/MonteCarloIntegration_Example3.ino |
Third example |