Monte Carlo methods: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: undid previous change.)
(→‎{{header|REXX}}: re-introduced a line that was elided previously.)
Line 1,543: Line 1,543:
1 2 3 4 5 6 7
1 2 3 4 5 6 7
scale: 1·234567890123456789012345678901234567890123456789012345678901234567890123
scale: 1·234567890123456789012345678901234567890123456789012345678901234567890123

true pi=3.141592653589793238462643383279502884197169399375105820974944592307816406+


10,000 repetitions: Monte Carlo pi is accurate to 3 places.
10,000 repetitions: Monte Carlo pi is accurate to 3 places.