07-Jan-2022 21:45:14 hyperball_integrals_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test hyperball_integrals(). HYPERBALL_INTEGRALS_TEST01() Use the Monte Carlo method to estimate integrals over the interior of the unit hyperball in M dimensions. Spatial dimension M = 3 Number of sample points used is 4192 If any exponent is odd, the integral is zero. We will restrict this test to randomly chosen even exponents. Ex Ey Ez MC-Estimate Exact Error 6 6 2 7.45974e-05 8.20511e-05 7.45e-06 8 6 6 8.48213e-07 9.388e-07 9.06e-08 8 6 0 0.0005217 0.000574358 5.27e-05 2 2 8 0.000649518 0.000650939 1.42e-06 8 8 2 8.89143e-06 1.00764e-05 1.19e-06 2 2 4 0.00355123 0.00362666 7.54e-05 8 4 4 1.61145e-05 1.81376e-05 2.02e-06 4 8 0 0.00188719 0.00195282 6.56e-05 2 0 2 0.117819 0.11968 1.86e-03 6 8 6 9.05059e-07 9.388e-07 3.37e-08 8 6 4 3.8593e-06 4.31848e-06 4.59e-07 6 4 2 0.000254214 0.000278974 2.48e-05 0 8 2 0.0106006 0.00976408 8.36e-04 4 4 6 4.7096e-05 4.92307e-05 2.13e-06 4 6 8 4.25502e-06 4.31848e-06 6.35e-08 8 8 8 6.393e-08 6.81499e-08 4.22e-09 0 6 2 0.0192291 0.0181333 1.10e-03 8 2 4 0.000103972 0.000114872 1.09e-05 6 6 2 7.45974e-05 8.20511e-05 7.45e-06 6 4 8 3.99892e-06 4.31848e-06 3.20e-07 HYPERBALL_INTEGRALS_TEST02 Use the Monte Carlo method to estimate integrals over the interior of the unit hyperball in M dimensions. Spatial dimension M = 6 Number of sample points used is 4192 If any exponent is odd, the integral is zero. We will restrict this test to randomly chosen even exponents. E1 E2 E3 E4 E5 E6 MC-Estimate Exact Error 6 2 2 6 4 4 1.20655e-11 1.17224e-11 3.43e-13 2 0 6 8 8 2 3.06689e-11 2.99164e-11 7.52e-13 6 4 0 8 4 2 8.06235e-11 8.20565e-11 1.43e-12 6 0 4 0 6 6 1.65689e-09 1.75835e-09 1.01e-10 8 8 0 8 2 8 9.77585e-15 1.18188e-14 2.04e-15 6 6 0 6 4 8 1.42995e-13 1.57124e-13 1.41e-14 8 0 6 6 8 8 4.92162e-16 6.02998e-16 1.11e-16 2 8 6 0 0 6 5.12202e-09 4.10283e-09 1.02e-09 8 2 6 2 6 6 5.88315e-14 5.23747e-14 6.46e-15 4 8 2 0 0 4 1.32814e-07 1.19474e-07 1.33e-08 6 4 8 6 0 0 4.52833e-10 4.10283e-10 4.26e-11 2 6 0 8 2 2 9.30823e-09 7.65861e-09 1.65e-09 8 0 4 0 6 6 3.81161e-10 4.10283e-10 2.91e-11 6 2 8 2 4 2 2.93355e-11 2.73522e-11 1.98e-12 2 4 8 4 8 0 1.4496e-11 1.79499e-11 3.45e-12 8 6 6 6 6 2 5.10694e-16 5.16856e-16 6.16e-18 6 4 0 6 4 2 3.53595e-10 3.51671e-10 1.92e-12 6 2 8 6 4 2 4.1802e-13 3.77098e-13 4.09e-14 2 8 6 0 0 8 1.2379e-09 9.57326e-10 2.81e-10 2 8 8 6 4 4 6.95795e-15 5.78879e-15 1.17e-15 hyperball_integrals_test(): Normal end of execution. 07-Jan-2022 21:45:14