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