Statistics for The solution of two dimensional heat equation with nonlocal boundary condition