Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
9
Task/Monte-Carlo-methods/J/monte-carlo-methods-4.j
Normal file
9
Task/Monte-Carlo-methods/J/monte-carlo-methods-4.j
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
pimct=. (4 * +/ % #)@:(1 >: |)@:(? j. ?)@:($&0)"0
|
||||
|
||||
(,. pimct) 10 ^ 3 + i.6
|
||||
1000 3.168
|
||||
10000 3.122
|
||||
100000 3.13596
|
||||
1e6 3.1428
|
||||
1e7 3.14158
|
||||
1e8 3.14154
|
||||
Loading…
Add table
Add a link
Reference in a new issue