Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 13-May-2025 18:23:56 square_integrals_test(): MATLAB/Octave version 9.11.0.2358333 (R2021b) Update 7 Test square_integrals(). square01_monomial_integral_test(): square01_monomial_integral() reports the integral of a monomial over the unit square. Compare exact and estimated integrals over the interior of the unit square in 2D. Number of sample points used is 4192 Ex Ey MC-Estimate Exact Error 0 0 1 1 0.00e+00 0 5 0.16725 0.166667 5.83e-04 1 1 0.250518 0.25 5.18e-04 0 5 0.16725 0.166667 5.83e-04 4 4 0.0395067 0.04 4.93e-04 5 6 0.0235203 0.0238095 2.89e-04 3 1 0.12377 0.125 1.23e-03 1 5 0.083675 0.0833333 3.42e-04 5 0 0.162365 0.166667 4.30e-03 3 3 0.0620714 0.0625 4.29e-04 6 1 0.0696073 0.0714286 1.82e-03 3 0 0.245408 0.25 4.59e-03 6 3 0.034845 0.0357143 8.69e-04 1 0 0.495776 0.5 4.22e-03 0 7 0.124939 0.125 6.07e-05 1 7 0.0629044 0.0625 4.04e-04 2 7 0.0419597 0.0416667 2.93e-04 2 0 0.328654 0.333333 4.68e-03 4 4 0.0395067 0.04 4.93e-04 7 1 0.0606348 0.0625 1.87e-03 squaresym_monomial_integral_test(): squaresym_monomial_integral() reports the integral of a monomial over the symmetric unit square. Compare exact and estimated integrals over the interior of the symmetric unit square in 2D. Number of sample points used is 4192 Ex Ey MC-Estimate Exact Error 3 7 0.00441619 0 4.42e-03 0 7 -0.00404815 0 4.05e-03 7 2 -0.0184191 0 1.84e-02 0 3 -0.00470186 0 4.70e-03 4 5 -0.00468267 0 4.68e-03 2 0 1.35361 1.33333 2.03e-02 7 6 -0.0110562 0 1.11e-02 2 6 0.188196 0.190476 2.28e-03 3 4 -0.0166674 0 1.67e-02 4 1 -0.00889787 0 8.90e-03 1 4 -0.0211775 0 2.12e-02 4 1 -0.00889787 0 8.90e-03 6 0 0.594611 0.571429 2.32e-02 7 3 0.00932839 0 9.33e-03 2 6 0.188196 0.190476 2.28e-03 2 4 0.264701 0.266667 1.97e-03 1 0 -0.0100846 0 1.01e-02 6 0 0.594611 0.571429 2.32e-02 4 4 0.160434 0.16 4.34e-04 0 1 -0.0106812 0 1.07e-02 square_integrals_test(): Normal end of execution. 13-May-2025 18:23:56