Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 08-Oct-2025 01:22:37 square_monte_carlo_test(): MATLAB/Octave version 9.11.0.2358333 (R2021b) Update 7 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.0777071 0.542193 0.0060384 0.0421323 0.293974 0.000469227 2 1 0.258562 0.40793 0.119005 0.0756882 0.18342 0.0577382 4 1 0.325849 0.172138 0.144102 0.0457547 0.055112 0.0732703 8 1 0.537799 0.293364 0.366062 0.0736204 0.207186 0.265246 16 1 0.385432 0.353237 0.225286 0.147326 0.209979 0.14973 32 1 0.385758 0.33416 0.248028 0.157263 0.205625 0.179533 64 1 0.354201 0.357462 0.222621 0.131577 0.229633 0.166324 128 1 0.309204 0.326549 0.187104 0.0865035 0.190128 0.134896 256 1 0.347426 0.307964 0.217488 0.106046 0.183044 0.163264 512 1 0.330079 0.323443 0.200895 0.106123 0.189602 0.145747 1024 1 0.3323 0.339594 0.200568 0.111678 0.205122 0.144786 2048 1 0.337027 0.33451 0.204806 0.113822 0.199669 0.147464 4096 1 0.338842 0.337019 0.206053 0.113071 0.204093 0.148789 8192 1 0.340569 0.330784 0.206476 0.113199 0.1984 0.147991 16384 1 0.336728 0.330511 0.202807 0.110433 0.198078 0.145017 32768 1 0.334884 0.33221 0.201211 0.110728 0.199209 0.14379 65536 1 0.333514 0.334324 0.200856 0.111589 0.200364 0.143935 Exact 1 0.333333 0.333333 0.2 0.111111 0.2 0.142857 square_monte_carlo_test(): Normal end of execution. 08-Oct-2025 01:22:37