Simulation, Monte Carlo, Quantum Physics, Computation, Physics.
#Rolling a random y value as well to give our bands vertical spread y = np.random.uniform(0,1) x = MonteCarlo(a,d,lamb,l) if x != None: particles.append([x,y]) After running our simulation, we can run the following code snippet to visualize the results seen in figure 9 and compare then to a real