08-Nov-2022 17:22:36 wedge_monte_carlo_test(): MATLAB/Octave version 4.2.2. Test wedge_monte_carlo(). wedge_monte_carlo_test01(): wedge01_sample() makes a Monte Carlo estimate of an integral over the interior of the unit wedge in 3D. N 1 X Y Z X^2 XY Z^2 X^3 1 1 0.268985 0.00561978 -0.406013 0.0723531 0.00151164 0.164847 0.0194619 2 1 0.20087 0.500942 0.0238575 0.0466121 0.0843175 0.846625 0.0118791 4 1 0.25641 0.262368 0.0871531 0.104115 0.0583644 0.137064 0.0503666 8 1 0.367528 0.41678 0.0898585 0.196084 0.114173 0.0973292 0.122959 16 1 0.362251 0.337293 -0.160239 0.180604 0.0928578 0.321839 0.105612 32 1 0.383096 0.306675 -0.00422968 0.21522 0.0901304 0.325226 0.140218 64 1 0.30409 0.343506 -0.000334401 0.146728 0.0786359 0.308268 0.0854937 128 1 0.318393 0.323483 -7.83394e-05 0.142507 0.0868674 0.315846 0.0744592 256 1 0.351129 0.317623 -0.0297356 0.184644 0.0823431 0.329516 0.114728 512 1 0.324084 0.335431 0.0157931 0.158536 0.0822435 0.334303 0.0930198 1024 1 0.345054 0.316258 0.00383679 0.177821 0.0820429 0.341431 0.108844 2048 1 0.338254 0.32717 -0.0104152 0.171092 0.0837879 0.331878 0.103269 4096 1 0.333545 0.326968 0.00186809 0.165022 0.0826799 0.332671 0.0978332 8192 1 0.329226 0.333528 0.000410881 0.163439 0.082723 0.326787 0.0977324 16384 1 0.331003 0.333935 -0.00290593 0.164818 0.0826315 0.335161 0.098492 32768 1 0.333651 0.334521 -0.00276957 0.166793 0.0835598 0.334045 0.100039 65536 1 0.332674 0.333026 0.00073674 0.166313 0.0833119 0.333417 0.0997738 Exact 1 0.333333 0.333333 0 0.166667 0.0833333 0.333333 0.1 wedge_monte_carlo_test(): Normal end of execution. 08-Nov-2022 17:22:40