6 lines
54 B
Mathematica
6 lines
54 B
Mathematica
|
|
>> monteCarloPi(7000000)
|
||
|
|
|
||
|
|
ans =
|
||
|
|
|
||
|
|
3.141512000000000
|