14-May-2025 11:22:01 cube_monte_carlo_test(): MATLAB/Octave version 6.4.0. Test cube_monte_carlo(). cube_monte_carlo_test01(): cube01_sample() estimates integrals along the interior of the unit cube in 3D. N 1 X Y Z X^2 XY XZ Y^2 YZ Z^2 1 1 0.504297 0.783712 0.892205 0.254315 0.395223 0.449936 0.614204 0.699231 0.796029 2 1 0.711179 0.601944 0.517932 0.507759 0.436513 0.356599 0.398103 0.261905 0.337762 4 1 0.463161 0.243466 0.561813 0.249495 0.0980467 0.227774 0.0931055 0.138695 0.350706 8 1 0.507391 0.548772 0.501912 0.341057 0.262776 0.243924 0.370656 0.251765 0.321908 16 1 0.445976 0.38878 0.542379 0.281905 0.1864 0.220012 0.224836 0.162177 0.389079 32 1 0.558196 0.532527 0.443612 0.364243 0.284377 0.254215 0.36554 0.266233 0.278558 64 1 0.519882 0.520417 0.549044 0.368469 0.258041 0.267927 0.346918 0.276583 0.371314 128 1 0.512778 0.493208 0.550146 0.345182 0.252323 0.278705 0.341015 0.279456 0.390366 256 1 0.511667 0.494794 0.484416 0.340155 0.249322 0.245964 0.336198 0.247706 0.320949 512 1 0.48896 0.483987 0.517198 0.319603 0.24074 0.253727 0.31917 0.24834 0.348713 1024 1 0.498997 0.477338 0.49285 0.32685 0.236852 0.248562 0.31335 0.236681 0.326548 2048 1 0.501617 0.494504 0.501259 0.3367 0.247026 0.251787 0.326932 0.250387 0.333862 4096 1 0.504149 0.500817 0.49886 0.338542 0.253692 0.250644 0.333138 0.247506 0.332118 8192 1 0.497573 0.50124 0.497563 0.331308 0.248347 0.24728 0.335252 0.248827 0.331092 16384 1 0.502063 0.500864 0.497037 0.334904 0.251248 0.249689 0.334779 0.249274 0.330024 32768 1 0.498557 0.502604 0.496417 0.332524 0.250657 0.247156 0.336326 0.249454 0.330364 65536 1 0.501017 0.499848 0.498584 0.334429 0.250479 0.250274 0.333098 0.249253 0.331756 Exact 1 0.5 0.5 0.5 0.333333 0.25 0.25 0.333333 0.25 0.333333 cube_monte_carlo_test(): Normal end of execution. 14-May-2025 11:22:01