Tue May 20 22:32:52 2025 square_surface_distance_test(): python version: 3.10.12 numpy version: 1.26.4 Test square_surface_distance() The mean distance between two random points on the surface of a square can be computed as: mu = ( 3 mu_diff + mu_same ) / 4 where: mu_diff = mean distance, points are on different sides mu_same = mean distance, points are on same side. Using N = 10000 sample points Exact mean distance (diff) = 0.8690090552745344 Exact mean distance (same) = 0.3333333333333333 Exact mean distance = 0.7350901247892342 Estimated mean distance = 0.7363563469843201 Estimated variance = 0.12554272153273818 Graphics saved as "square_surface_distance_histogram.png" square_surface_distance_test(): Normal end of execution. Tue May 20 22:32:54 2025