01-Feb-2019 13:03:13 HYPERSPHERE_INTEGRALS_TEST MATLAB version Test HYPERSPHERE_INTEGRALS. HYPERSPHERE_INTEGRALS_TEST01 Estimate monomial integrals using Monte Carlo over the surface of the unit hypersphere in 3D. 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 2 8 8 0.000202772 0.000211605 8.83e-06 4 4 0 0.120072 0.11968 3.92e-04 2 0 0 4.22502 4.18879 3.62e-02 6 0 4 0.0554314 0.0543999 1.03e-03 4 6 6 0.000236048 0.000246153 1.01e-05 0 8 2 0.127689 0.126933 7.56e-04 0 0 8 1.40887 1.39626 1.26e-02 8 0 0 1.41743 1.39626 2.12e-02 2 8 0 0.129536 0.126933 2.60e-03 2 8 2 0.00979754 0.00976408 3.35e-05 6 4 8 8.82031e-05 9.0688e-05 2.48e-06 4 8 4 0.000340423 0.000344615 4.19e-06 0 6 2 0.199923 0.199466 4.57e-04 0 4 2 0.356633 0.359039 2.41e-03 6 2 2 0.0178948 0.0181333 2.39e-04 6 0 2 0.204176 0.199466 4.71e-03 8 8 0 0.00404338 0.0040205 2.29e-05 6 0 6 0.0213199 0.020923 3.97e-04 6 2 8 0.000576588 0.000574358 2.23e-06 6 6 4 0.00024249 0.000246153 3.66e-06 HYPERSPHERE_INTEGRALS_TEST02 Estimate monomial integrals using Monte Carlo over the surface of the unit hypersphere in 6D. 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 0 6 6 4 2 0 2.06435e-06 2.04813e-06 1.62e-08 2 0 0 4 0 2 0.0164333 0.0161491 2.84e-04 2 6 6 0 6 2 1.41201e-08 1.64113e-08 2.29e-09 0 0 6 6 0 0 0.00546899 0.00540707 6.19e-05 2 6 0 2 6 2 6.38575e-07 6.8271e-07 4.41e-08 4 4 6 2 6 4 2.97542e-11 3.51671e-11 5.41e-12 0 6 2 0 4 2 5.71097e-05 6.00785e-05 2.97e-06 4 2 0 4 0 2 0.000211968 0.000216283 4.31e-06 6 6 0 4 0 6 4.33266e-08 4.92339e-08 5.91e-09 4 2 6 6 6 2 5.62642e-11 5.86118e-11 2.35e-12 6 4 0 4 0 2 8.91917e-06 9.01178e-06 9.26e-08 2 6 0 0 0 0 0.0773546 0.0807455 3.39e-03 2 0 0 0 4 6 0.00101949 0.00108141 6.19e-05 4 0 6 4 2 6 1.05434e-08 9.84678e-09 6.97e-10 6 6 4 0 2 2 8.10533e-08 8.53388e-08 4.29e-09 6 4 2 0 6 6 1.6678e-09 1.75835e-09 9.06e-11 4 2 4 2 4 6 1.81153e-09 1.96936e-09 1.58e-10 0 4 6 2 4 2 3.79828e-07 4.09626e-07 2.98e-08 2 6 6 6 0 2 1.62532e-08 1.64113e-08 1.58e-10 0 6 2 6 4 6 1.79575e-09 1.75835e-09 3.74e-11 HYPERSPHERE_INTEGRALS_TEST Normal end of execution. 01-Feb-2019 13:03:13