Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 08-Oct-2025 01:54:39 triangle01_monte_carlo_test(): MATLAB/Octave version 9.11.0.2358333 (R2021b) Update 7 Test triangle01_monte_carlo(). triangle01_monte_carlo_test01(): triangle01_sample() computes a Monte Carlo estimate of an integral over the interior of the unit triangle in 2D. N 1 X Y X^2 XY Y^2 X^3 1 0.5 0.0304738 0.0860951 0.00185731 0.00524729 0.0148247 0.000113199 2 0.5 0.303591 0.0491175 0.188963 0.0332967 0.00743227 0.120354 4 0.5 0.202786 0.194711 0.126062 0.0524103 0.101608 0.0889084 8 0.5 0.145282 0.214466 0.0714443 0.0428214 0.118846 0.0455546 16 0.5 0.205809 0.14473 0.109707 0.0461861 0.0599911 0.0651422 32 0.5 0.142051 0.175615 0.0611527 0.0383081 0.091456 0.0323384 64 0.5 0.177199 0.190993 0.0849894 0.0541108 0.0977421 0.0472335 128 0.5 0.160173 0.1693 0.0804097 0.0414856 0.0870148 0.0496167 256 0.5 0.166204 0.155899 0.0825572 0.0407163 0.0758399 0.0498912 512 0.5 0.177054 0.156545 0.0927452 0.0409642 0.076455 0.0569454 1024 0.5 0.161113 0.169268 0.0793092 0.041067 0.0853638 0.0470443 2048 0.5 0.164682 0.169848 0.0820165 0.0417736 0.0849156 0.0492549 4096 0.5 0.166881 0.166053 0.083755 0.0414159 0.0827114 0.0505681 8192 0.5 0.168339 0.164938 0.0847543 0.041232 0.0821643 0.0511976 16384 0.5 0.166493 0.167667 0.0832481 0.041792 0.0841146 0.0499834 32768 0.5 0.166504 0.166451 0.0830626 0.0415275 0.0832099 0.0496678 65536 0.5 0.166856 0.166464 0.0834504 0.0415866 0.0833468 0.0500548 Exact 0.5 0.166667 0.166667 0.0833333 0.0416667 0.0833333 0.05 triangle01_monte_carlo_test(): Normal end of execution. 08-Oct-2025 01:54:40