Monte Carlo, Python, Jupyter Notebook.
iterations=iterations) l = Monte_Carlo(transfer_function, iterations=100) The comparison of the results are shown on the following plot: Result of the Monte Carlo simulation on a simple function The code block for the plot: fig = plt.figure(figsize=(10,5)) sns.distplot(k, label="10000 iter")