08-Jan-2022 08:57:01 polygon_monte_carlo_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test polygon_monte_carlo(). POLYGON_MONTE_CARLO_TEST01() Use POLYGON_SAMPLE to estimate 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 2.63467 2.22622 1.73538 1.46634 1.23902 1.14304 2 4 0.140306 1.31337 0.00982127 0.090805 0.83969 0.000688233 4 4 1.41993 1.36801 0.944276 0.500211 0.924793 0.706636 8 4 1.74513 1.44349 0.966367 0.572839 0.787758 0.635751 16 4 1.00399 1.19481 0.477223 0.36582 0.702162 0.265391 32 4 1.28388 1.43303 0.749753 0.562112 0.843432 0.510052 64 4 1.30305 1.27663 0.744886 0.407084 0.784747 0.516512 128 4 1.28043 1.37288 0.792715 0.430337 0.830654 0.591109 256 4 1.31731 1.25631 0.78465 0.425948 0.748319 0.55003 512 4 1.38108 1.30839 0.859323 0.476972 0.782056 0.630992 1024 4 1.3029 1.27981 0.774749 0.407057 0.760603 0.546967 2048 4 1.32692 1.30365 0.796772 0.42666 0.771532 0.568299 4096 4 1.35994 1.3483 0.820064 0.455831 0.808256 0.586877 8192 4 1.3379 1.34543 0.80749 0.440752 0.810062 0.580012 16384 4 1.34309 1.32667 0.805439 0.443541 0.793592 0.573624 32768 4 1.33515 1.33187 0.801448 0.443875 0.799555 0.572546 65536 4 1.33853 1.32703 0.805437 0.442314 0.795518 0.576369 Exact 4 1.33333 1.33333 0.8 0.444444 0.8 0.571429 polygon_monte_carlo_test(): Normal end of execution. 08-Jan-2022 08:57:02