Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 13-May-2025 16:40:03 polygon_monte_carlo_test(): MATLAB/Octave version 9.11.0.2358333 (R2021b) Update 7 Test polygon_monte_carlo(). polygon_monte_carlo_test01(): polygon_sample() estimates integrals over the interior of a polygon in 2D. N 1 X^2 Y^2 X^4 X^2Y^2 Y^4 X^6 1 4 0.00986077 3.83224 2.43087e-05 0.0094472 3.67151 5.99256e-08 2 4 0.0419291 1.09562 0.000877958 0.0119246 0.300536 1.83948e-05 4 4 0.508438 1.14947 0.110695 0.10212 0.526361 0.028008 8 4 0.889112 1.12451 0.387963 0.303729 0.694874 0.20495 16 4 1.5744 1.58947 1.00138 0.81791 0.931234 0.729094 32 4 1.08325 1.51771 0.607018 0.573117 0.964617 0.412588 64 4 1.30111 1.43292 0.793492 0.49383 0.859798 0.560138 128 4 1.51308 1.29928 0.947992 0.484744 0.758425 0.699107 256 4 1.40289 1.31029 0.863307 0.423443 0.798002 0.634134 512 4 1.30731 1.40481 0.765672 0.492609 0.8823 0.537039 1024 4 1.36182 1.31846 0.835447 0.442617 0.794059 0.599909 2048 4 1.37987 1.35028 0.839523 0.465821 0.823598 0.603753 4096 4 1.33858 1.35235 0.811408 0.448638 0.822113 0.583542 8192 4 1.35563 1.31908 0.814497 0.445684 0.789641 0.5805 16384 4 1.34027 1.32423 0.806994 0.445685 0.78855 0.578088 32768 4 1.3445 1.33774 0.810135 0.449986 0.802294 0.580578 65536 4 1.33974 1.33766 0.805615 0.449341 0.804637 0.575697 Exact 4 1.33333 1.33333 0.8 0.444444 0.8 0.571429 polygon_monte_carlo_test(): Normal end of execution. 13-May-2025 16:40:04