Data update
This commit is contained in:
parent
5af6d93694
commit
796d366b97
455 changed files with 7413 additions and 1900 deletions
|
|
@ -1,4 +1,4 @@
|
|||
proc mc n . .
|
||||
func mc n .
|
||||
for i = 1 to n
|
||||
x = randomf
|
||||
y = randomf
|
||||
|
|
@ -6,10 +6,10 @@ proc mc n . .
|
|||
hit += 1
|
||||
.
|
||||
.
|
||||
print 4.0 * hit / n
|
||||
return 4.0 * hit / n
|
||||
.
|
||||
numfmt 4 0
|
||||
call mc 10000
|
||||
call mc 100000
|
||||
call mc 1000000
|
||||
call mc 10000000
|
||||
print mc 10000
|
||||
print mc 100000
|
||||
print mc 1000000
|
||||
print mc 10000000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue