07-Nov-2022 10:30:15 pyramid_monte_carlo_test(): MATLAB/Octave version 4.2.2 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.0156702 0.859569 0.522347 0.000184166 0.0101022 0.00613896 2.16444e-06 0.336745 0.000118727 2 1.33333 0.211886 0.622559 0.312195 0.0550905 0.0595017 0.0761296 0.0155622 0.0969519 0.0131902 4 1.33333 0.397781 0.0743126 0.35575 0.123496 0.0202249 0.0992356 0.039917 0.0190562 0.00583992 8 1.33333 0.246894 0.154231 0.416042 0.0585964 0.0338117 0.0535137 0.0158932 0.0346543 0.00898251 16 1.33333 0.48718 0.213964 0.387812 0.248793 0.0403672 0.085863 0.153964 0.107948 0.0108196 32 1.33333 0.250266 0.218879 0.313557 0.0755009 0.031057 0.0480202 0.0277442 0.0478095 0.0073825 64 1.33333 0.378799 0.213654 0.23 0.162299 0.0440474 0.0451747 0.0815729 0.0268071 0.0148201 128 1.33333 0.326358 0.271748 0.281589 0.130029 0.0447881 0.0454982 0.0659527 0.0616992 0.0125164 256 1.33333 0.323583 0.272058 0.267211 0.127484 0.0440305 0.0430303 0.0636336 0.0624243 0.0119363 512 1.33333 0.33226 0.250394 0.249103 0.13312 0.0426088 0.0425045 0.0663207 0.0528651 0.0122938 1024 1.33333 0.339377 0.260134 0.26674 0.137232 0.0446471 0.0453652 0.0687079 0.0600364 0.0132847 2048 1.33333 0.332541 0.271674 0.258169 0.133323 0.0441137 0.0426743 0.0665066 0.0634726 0.0124641 4096 1.33333 0.334101 0.266441 0.266387 0.133832 0.0442255 0.0440363 0.0669145 0.0630088 0.012613 8192 1.33333 0.332546 0.270404 0.261507 0.132573 0.0449547 0.0441356 0.0660859 0.0639656 0.0128188 16384 1.33333 0.332401 0.265889 0.264186 0.132701 0.0438059 0.0441532 0.0661546 0.0623885 0.0124491 32768 1.33333 0.332009 0.265936 0.267169 0.131873 0.0444112 0.0446472 0.0655588 0.0626562 0.0126328 65536 1.33333 0.33273 0.265415 0.267138 0.133074 0.0442928 0.044314 0.0664922 0.0632995 0.0127035 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. 07-Nov-2022 10:30:15