08-Oct-2025 20:42:41 tetrahedron01_monte_carlo_test(): MATLAB/Octave version 6.4.0 Test tetrahedron01_monte_carlo(). tetrahedron01_monte_carlo_test01(): tetrahedron01_sample() makes a Monte Carlo estimate of an integral over the interior of the unit tetrahedron in 3D. N 1 X Y Z X^2 XY XZ Y^2 YZ Z^2 1 0.166667 0.0659267 0.0113581 0.024761 0.026078 0.0044928 0.00979445 0.000774034 0.00168742 0.00367864 2 0.166667 0.0506306 0.0722526 0.0269587 0.0277504 0.0115437 0.00798766 0.0400758 0.0118569 0.00436394 4 0.166667 0.0428026 0.0223576 0.0505742 0.0240333 0.00591195 0.00274494 0.00481726 0.00527046 0.0348741 8 0.166667 0.0517092 0.0400643 0.039922 0.0186456 0.0117447 0.012206 0.0144818 0.00570957 0.0139963 16 0.166667 0.0472891 0.0397716 0.0345973 0.0218469 0.00636162 0.00655408 0.0189521 0.00538624 0.0153155 32 0.166667 0.0398631 0.0430242 0.0413013 0.0164848 0.00767726 0.00902656 0.0177678 0.00977727 0.0146883 64 0.166667 0.0395175 0.0413327 0.0423307 0.0136336 0.00790685 0.00944821 0.0173651 0.0079633 0.0155343 128 0.166667 0.0395942 0.042444 0.0433508 0.0144233 0.00856491 0.00847093 0.0172067 0.00827492 0.017727 256 0.166667 0.0423833 0.0405549 0.0413238 0.0169779 0.00811262 0.00851369 0.0158155 0.00778807 0.0159406 512 0.166667 0.0409607 0.0425729 0.0407703 0.0163937 0.00817475 0.00792714 0.0174083 0.00836587 0.0159077 1024 0.166667 0.0408843 0.0402137 0.0421727 0.0162912 0.00767461 0.00852595 0.0158541 0.00821743 0.0168364 2048 0.166667 0.0412885 0.0419945 0.0419528 0.0162625 0.0083985 0.00840495 0.0168969 0.00835621 0.0170603 4096 0.166667 0.0417354 0.0409225 0.0423777 0.0167753 0.00819201 0.00833569 0.0161797 0.00832891 0.0172799 8192 0.166667 0.0420005 0.0423476 0.0405589 0.016866 0.00849718 0.0082435 0.017057 0.00832332 0.0158631 16384 0.166667 0.0420265 0.0415071 0.0414985 0.0167902 0.00839793 0.00837864 0.0164989 0.0082648 0.0165896 32768 0.166667 0.0415876 0.0416653 0.0417168 0.0166367 0.00834078 0.00831717 0.0165865 0.00836099 0.016679 65536 0.166667 0.0418337 0.0416137 0.0417854 0.0167324 0.00836398 0.00840543 0.01661 0.00834288 0.0167403 Exact 0.166667 0.0416667 0.0416667 0.0416667 0.0166667 0.00833333 0.00833333 0.0166667 0.00833333 0.0166667 tetrahedron01_monte_carlo_test(): Normal end of execution. 08-Oct-2025 20:42:51