Tue Mar 29 15:29:38 2022 cube_surface_distance_test(): Python version: 3.6.9 Test cube_surface_distance() The mean distance between two random points on the surface of a cube can be computed as: mu = ( 5 mu_diff + mu_same ) / 6 where: mu_diff = mean distance, points are on different faces mu_same = mean distance, points are on same face. Using N = 10000 sample points, Exact mean distance (diff) = 0.9263900551740467 Exact mean distance (same) = 0.5214054331647207 Exact mean distance = 0.8588926181724923 Estimated mean distance = 0.8666417799773466 Estimated variance = 0.09506174192091849 Graphics saved as "cube_surface_distance_histogram.png" cube_surface_distance_test(): Normal end of execution. Tue Mar 29 15:29:38 2022