14-May-2025 08:19:48 ball_monte_carlo_test(): MATLAB/Octave version 6.4.0 Test ball_monte_carlo(). ball_monte_carlo_test01(): ball01_sample() estimates integrals over the interior of the unit ball using the Monte Carlo method. N 1 X^2 Y^2 Z^2 X^4 X^2Y^2 Z^4 1 4.18879 3.29306 0.344084 0.0766804 2.58888 0.270505 0.00140372 2 4.18879 0.0502745 1.418 0.0897524 0.00120457 0.00642387 0.00303175 4 4.18879 0.545075 0.685859 0.709333 0.130563 0.116912 0.212548 8 4.18879 0.687303 0.44872 0.645196 0.145618 0.0704798 0.189939 16 4.18879 1.00785 1.03524 0.700203 0.428764 0.195067 0.217829 32 4.18879 1.01868 0.872439 0.743936 0.487509 0.151458 0.313199 64 4.18879 0.7153 0.938925 0.919171 0.288403 0.122248 0.418663 128 4.18879 0.78338 0.679041 0.717603 0.289958 0.105199 0.280435 256 4.18879 0.796389 0.872905 0.808524 0.319532 0.125063 0.350542 512 4.18879 0.816646 0.878853 0.835082 0.33558 0.13153 0.355372 1024 4.18879 0.847688 0.837591 0.854501 0.357966 0.117935 0.365699 2048 4.18879 0.85191 0.816871 0.831895 0.369564 0.11758 0.351123 4096 4.18879 0.837465 0.853104 0.845126 0.357302 0.121331 0.364503 8192 4.18879 0.836215 0.832487 0.838115 0.359133 0.117369 0.358179 16384 4.18879 0.834879 0.838951 0.826027 0.355714 0.121843 0.349192 32768 4.18879 0.845737 0.843379 0.834999 0.362247 0.121029 0.357029 65536 4.18879 0.836165 0.838731 0.840769 0.357465 0.119491 0.36151 Exact 4.18879 0.837758 0.837758 0.837758 0.359039 0.11968 0.359039 ball_monte_carlo_test(): Normal end of execution. 14-May-2025 08:19:50