08-Jan-2022 09:48:03 sphere_integrals_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test sphere_integrals(). SPHERE_INTEGRALS_TEST01 Estimate monomial integrands using Monte Carlo over the surface of the unit sphere in 3D. 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 8 4 0 0.0287206 0.0292922 5.72e-04 0 2 8 0.124136 0.126933 2.80e-03 2 6 4 0.00419259 0.00418461 7.98e-06 0 0 4 2.46807 2.51327 4.52e-02 8 0 4 0.0300118 0.0292922 7.20e-04 2 0 6 0.194972 0.199466 4.49e-03 0 0 0 12.5664 12.5664 0.00e+00 0 4 2 0.360138 0.359039 1.10e-03 6 0 8 0.00973842 0.00976408 2.57e-05 0 4 8 0.0290047 0.0292922 2.88e-04 0 8 0 1.41996 1.39626 2.37e-02 6 8 4 8.99834e-05 9.0688e-05 7.05e-07 4 2 8 0.00195682 0.00195282 4.00e-06 0 0 0 12.5664 12.5664 0.00e+00 4 4 8 0.000344128 0.000344615 4.87e-07 6 0 8 0.00973842 0.00976408 2.57e-05 4 0 2 0.366612 0.359039 7.57e-03 4 0 4 0.120451 0.11968 7.72e-04 2 6 8 0.000582656 0.000574358 8.30e-06 8 0 4 0.0300118 0.0292922 7.20e-04 sphere_integrals_test(): Normal end of execution. 08-Jan-2022 09:48:03