15-May-2025 20:28:14 pyramid_monte_carlo_test(): MATLAB/Octave version 6.4.0 Test pyramid_monte_carlo():. pyramid_monte_carlo_test01(): pyramid01_sample() estimates 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.180695 0.00394795 0.394091 0.0244879 0.000535031 0.0534077 0.00331863 0.00116689 7.25079e-05 2 1.33333 0.311911 0.294582 0.439965 0.102675 0.0454984 0.0534011 0.0379185 0.136234 0.0117299 4 1.33333 0.43219 0.0628666 0.301004 0.193998 0.0201458 0.0228053 0.0945549 0.0106804 0.00738659 8 1.33333 0.197039 0.46337 0.523667 0.0369576 0.0601554 0.0626316 0.00751776 0.164446 0.0102202 16 1.33333 0.282236 0.299403 0.313208 0.0899618 0.032066 0.0422079 0.0331723 0.0699692 0.00637425 32 1.33333 0.360086 0.296588 0.239968 0.144262 0.0474866 0.0441085 0.0686423 0.0682999 0.0140298 64 1.33333 0.320283 0.273654 0.264355 0.129579 0.0422278 0.0397393 0.067101 0.0625298 0.0117223 128 1.33333 0.36011 0.267025 0.241968 0.155164 0.0438546 0.0441087 0.0805261 0.0580815 0.0135379 256 1.33333 0.326811 0.258292 0.269037 0.131986 0.0382786 0.0442407 0.0657683 0.0631174 0.0109796 512 1.33333 0.340756 0.26331 0.271032 0.135926 0.0484459 0.0469908 0.0677451 0.0629346 0.0141462 1024 1.33333 0.323886 0.261081 0.271978 0.127072 0.0431569 0.0461138 0.0626303 0.0617053 0.0122374 2048 1.33333 0.337285 0.267991 0.266606 0.137767 0.044359 0.044687 0.0699571 0.0622018 0.0128783 4096 1.33333 0.335384 0.266267 0.273185 0.135749 0.0444114 0.0446462 0.0684351 0.0645406 0.0128636 8192 1.33333 0.336124 0.268498 0.262073 0.134418 0.0449093 0.0444367 0.0669997 0.0621905 0.0127793 16384 1.33333 0.335181 0.266428 0.269329 0.134806 0.0445905 0.0447449 0.0676367 0.0647401 0.0128263 32768 1.33333 0.331977 0.267017 0.264769 0.132407 0.0443533 0.0444165 0.0660276 0.0627202 0.0126686 65536 1.33333 0.334381 0.267612 0.267812 0.134348 0.0446259 0.0446579 0.0674258 0.064028 0.0127845 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. 15-May-2025 20:28:14