16-May-2025 09:23:12 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.0114801 0.00428348 0.0626022 0.000790762 0.00029505 0.00431209 0.000110089 0.00160893 0.0235142 2 0.166667 0.0302793 0.04342 0.057097 0.00559311 0.00861544 0.00919845 0.0170529 0.00559914 0.034547 4 0.166667 0.0338242 0.0160851 0.0547143 0.0119102 0.00141525 0.0124809 0.00327296 0.00630648 0.0208908 8 0.166667 0.0376978 0.044943 0.0557956 0.0120439 0.0106071 0.00942516 0.0197495 0.00993463 0.0260268 16 0.166667 0.0396247 0.0288271 0.0481465 0.0152722 0.00737536 0.00867732 0.00893434 0.00727355 0.0195408 32 0.166667 0.04486 0.0436093 0.0458673 0.0162595 0.0107082 0.0101683 0.0148688 0.0100423 0.017815 64 0.166667 0.0378614 0.0395041 0.0473216 0.0130366 0.00781061 0.00967929 0.0151927 0.00850416 0.0202851 128 0.166667 0.0412901 0.0450136 0.0389119 0.0164016 0.00856038 0.00792757 0.0192871 0.00795963 0.0155028 256 0.166667 0.0417863 0.041321 0.0425975 0.016794 0.00800564 0.0086294 0.0173261 0.00824137 0.0173751 512 0.166667 0.0411179 0.0420872 0.0409312 0.0165186 0.00805746 0.00818309 0.0167869 0.00823788 0.0161015 1024 0.166667 0.0435154 0.0408123 0.0411453 0.0179579 0.00864739 0.00832037 0.0155107 0.00826338 0.0163559 2048 0.166667 0.042037 0.0404762 0.0419976 0.0168701 0.00834174 0.0083874 0.0156316 0.00822522 0.016915 4096 0.166667 0.041383 0.0421836 0.0414199 0.0165107 0.00842898 0.00811309 0.0170528 0.00833369 0.0166565 8192 0.166667 0.0418826 0.042237 0.04102 0.0167659 0.00845043 0.00829557 0.016978 0.00835299 0.016178 16384 0.166667 0.0416079 0.0416628 0.0417297 0.0166639 0.00826932 0.00834377 0.0167671 0.00833112 0.0166561 32768 0.166667 0.0419305 0.0415043 0.0414732 0.0168363 0.00831651 0.00835979 0.0165449 0.00829888 0.0165268 65536 0.166667 0.0417676 0.0415909 0.041679 0.0167252 0.0083447 0.00832671 0.016595 0.0083323 0.016688 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. 16-May-2025 09:23:22