A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
7
Task/Monte-Carlo-methods/K/monte-carlo-methods.k
Normal file
7
Task/Monte-Carlo-methods/K/monte-carlo-methods.k
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
sim:{4*(+/{~1<+/(2_draw 0)^2}'!x)%x}
|
||||
|
||||
sim 10000
|
||||
3.103
|
||||
|
||||
sim'10^!8
|
||||
4 2.8 3.4 3.072 3.1212 3.14104 3.14366 3.1413
|
||||
Loading…
Add table
Add a link
Reference in a new issue