08-Nov-2022 06:48:52 square_monte_carlo_test(): MATLAB/Octave version 4.2.2 Test square_monte_carlo(). square_monte_carlo_test01(): square01_sample() estimates integrals along the interior of the unit square in 2D. N 1 X^2 Y^2 X^4 X^2Y^2 Y^4 X^6 1 1 0.30921 0.112034 0.0956107 0.0346419 0.0125515 0.0295638 2 1 0.102483 0.400826 0.0187101 0.0702558 0.264393 0.00359968 4 1 0.577054 0.159589 0.439743 0.103594 0.0709757 0.341163 8 1 0.426973 0.325381 0.268237 0.110018 0.16726 0.19544 16 1 0.433177 0.394492 0.298249 0.171303 0.253129 0.232886 32 1 0.26609 0.330362 0.148306 0.0713807 0.200185 0.101926 64 1 0.335909 0.307902 0.200149 0.101573 0.181154 0.140949 128 1 0.346356 0.317443 0.200558 0.11542 0.190088 0.137234 256 1 0.333219 0.348471 0.202714 0.105736 0.215217 0.145548 512 1 0.338166 0.323666 0.202951 0.109075 0.183901 0.143496 1024 1 0.345395 0.326828 0.20688 0.107713 0.197302 0.146361 2048 1 0.327371 0.333603 0.195596 0.108347 0.198817 0.139078 4096 1 0.336186 0.326925 0.200717 0.109983 0.195607 0.142253 8192 1 0.330476 0.338433 0.196919 0.112629 0.203408 0.139588 16384 1 0.334233 0.330225 0.200851 0.110417 0.198086 0.143801 32768 1 0.331632 0.335125 0.198244 0.110939 0.20154 0.141343 65536 1 0.334113 0.332584 0.200682 0.1113 0.198947 0.143404 Exact 1 0.333333 0.333333 0.2 0.111111 0.2 0.142857 square_monte_carlo_test(): Normal end of execution. 08-Nov-2022 06:48:52