03-Nov-2022 19:52:39 cube_monte_carlo_test(): MATLAB/Octave version 4.2.2. 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.580139 0.720106 0.812367 0.336562 0.417762 0.471286 0.518553 0.584991 0.659941 2 1 0.71448 0.442183 0.27069 0.544553 0.271343 0.201113 0.253879 0.109604 0.0750178 4 1 0.284782 0.640482 0.645088 0.132363 0.20843 0.110746 0.480003 0.395745 0.526817 8 1 0.395515 0.425142 0.521923 0.234768 0.157806 0.191283 0.24462 0.254071 0.32796 16 1 0.477023 0.578462 0.410573 0.270194 0.278276 0.195212 0.384816 0.248661 0.230994 32 1 0.532189 0.506732 0.516279 0.354178 0.2522 0.273736 0.332857 0.260609 0.352759 64 1 0.506856 0.585933 0.526569 0.356476 0.29146 0.278636 0.408886 0.297314 0.346507 128 1 0.491529 0.496743 0.513648 0.32711 0.247093 0.246163 0.327665 0.251869 0.347067 256 1 0.523668 0.498943 0.529403 0.345303 0.264753 0.2822 0.334539 0.25827 0.365738 512 1 0.493258 0.4724 0.484028 0.326037 0.232244 0.237843 0.304482 0.228228 0.31771 1024 1 0.510161 0.500663 0.505391 0.34473 0.253601 0.253499 0.337394 0.25564 0.337829 2048 1 0.505663 0.500791 0.497379 0.338937 0.250358 0.247957 0.333632 0.250735 0.328846 4096 1 0.496783 0.498863 0.496697 0.32965 0.247402 0.246426 0.333635 0.247704 0.330733 8192 1 0.5024 0.503584 0.498512 0.336329 0.252726 0.250145 0.337099 0.251206 0.332389 16384 1 0.499562 0.502856 0.499135 0.332359 0.250673 0.248241 0.33582 0.250839 0.333203 32768 1 0.500259 0.49743 0.50135 0.333065 0.248738 0.250095 0.330635 0.248875 0.33602 65536 1 0.501106 0.498622 0.499485 0.334492 0.249848 0.250276 0.332062 0.249049 0.332899 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. 03-Nov-2022 19:52:39