Random Walk, Laplace Equation, Poisson Equation, Brownian Motion, Maxwell Boltzmann.
mean_exit_time(v, 2000) # with 2000 particles print(f'Analytical solution(f) at v = {analytical_solution(v):.3f}') print(f'Expectation value of f(exit vectors) = {expectation_value:.3f}') Analytical solution(f) at v = 0.320 Expectation value of f(exit vectors) = 0.329 Now let us try to solve the