08-Jan-2022 09:03:21 pyramid_monte_carlo_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test pyramid_monte_carlo():. TEST01 Use PYRAMID01_SAMPLE to estimate integrals over the interior of the unit pyramid in 3D. N 1 Z X^2 Y^2 Z^2 X^2Z Y^2Z Z^3 X^2Y^2 X^2Z^2 1 1.33333 0.663153 0.133464 0.221877 0.329829 0.0663802 0.110354 0.164045 0.0222094 0.0330152 2 1.33333 0.369365 0.223658 0.015593 0.194306 0.0539359 0.0054242 0.10479 0.00251928 0.0281486 4 1.33333 0.0805361 0.769867 0.373647 0.00775839 0.0359272 0.0296383 0.000883717 0.188526 0.00287259 8 1.33333 0.282036 0.405662 0.317947 0.0985869 0.0454209 0.0438141 0.0384284 0.146645 0.0111895 16 1.33333 0.309739 0.257209 0.197489 0.102228 0.0325878 0.0347404 0.0378931 0.0491869 0.00722034 32 1.33333 0.37457 0.249214 0.27649 0.170766 0.0450386 0.0449004 0.0978301 0.0663934 0.0129666 64 1.33333 0.323018 0.23945 0.236245 0.124057 0.0446394 0.0386625 0.0596216 0.0497451 0.0136093 128 1.33333 0.318025 0.258708 0.241394 0.128912 0.0365364 0.0371987 0.0659734 0.0560181 0.00986516 256 1.33333 0.322383 0.228845 0.262121 0.124093 0.0431325 0.0424195 0.0593703 0.0512098 0.0135094 512 1.33333 0.342715 0.249985 0.266092 0.141678 0.043157 0.0436362 0.0733334 0.0615105 0.0125151 1024 1.33333 0.333471 0.270885 0.261954 0.130149 0.0479169 0.0463693 0.063593 0.0621321 0.0136625 2048 1.33333 0.328583 0.270348 0.270948 0.13087 0.0439837 0.0450107 0.0658547 0.0647432 0.0123962 4096 1.33333 0.336902 0.26706 0.274255 0.136198 0.0448373 0.0459258 0.0687919 0.0664898 0.0127708 8192 1.33333 0.332766 0.264105 0.272391 0.132784 0.0442706 0.0451221 0.0664403 0.0641031 0.0126354 16384 1.33333 0.332466 0.267585 0.267523 0.132482 0.0443199 0.0448086 0.0660323 0.0638242 0.0126304 32768 1.33333 0.334344 0.266961 0.265372 0.134167 0.0445993 0.0445453 0.0674112 0.0632659 0.0127 65536 1.33333 0.333367 0.266694 0.266556 0.133162 0.0446608 0.0444709 0.0665263 0.0633417 0.0127511 Exact 1.33333 0.333333 0.266667 0.266667 0.133333 0.0444444 0.0444444 0.0666667 0.0634921 0.0126984 pyramid_monte_carlo_test(): Normal end of execution. 08-Jan-2022 09:03:21