Random Walk, Laplace Equation, Poisson Equation, Brownian Motion, Maxwell Boltzmann.
plt.gca().add_patch(Rectangle((0, 0), 1, 1,color="purple", alpha=0.1)) plt.scatter(v[0], v[1]) plt.annotate('starting point', (0.6, 0.6)) [plt.scatter(exit_times[i,0],exit_times[i,1]) for i in range(10)] plt.annotate('exit points', (0.1, 0.8)) plt.annotate(str(np.round(exit_times, decimals=2)),