Random Walk, Laplace Equation, Poisson Equation, Brownian Motion, Maxwell Boltzmann.
shown in Fig. 7, the temperature distribution looks the same as the analytical solution that is known as @njit #for speed up using numba def analytical_solution(w, n=None): if w[1]>=1: return 100 else: return 0 numerical = [value_at_grid(n=30), value_at_grid(n=1000)] plot_target = [numerical[0],