-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.Rhistory
48 lines (48 loc) · 1.03 KB
/
.Rhistory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
bloomProb <- function(k,n,m){(1 - exp(-k*n/m))^k}
bloomProb(5, 1000, 500)
bloomProb(5, 500, 500)
bloomProb(5, 500, 1000)
bloomProb(5, 1000, 1200)
bloomProb(20, 1000, 1200)
bloomProb(1, 1000, 1200)
bloomProb(10, 1000, 1200)
bloom <- function(k,n,m){(1-(1-(1/m))^(k*n))^k}
bloom(10, 1000, 1200)
bloom(20, 1000, 1200)
2^2
2^3
bloom(2, 1000, 1200)
bloom(1, 1000, 1200)
bloom(2, 1000, 1500)
bloom(2, 1000, 2000)
bloom(2, 1000, 5000)
bloom(2, 1000, 4000)
bloom(3, 1000, 4000)
bloom(4, 1000, 4000)
bloom(5, 1000, 4000)
bloom(3, 1000, 4000)
bloom(4, 1000, 4000)
bloom(4, 1000, 4000)
bloom(3, 1000, 4000)
bloom(2, 1000, 4000)
bloom(10, 1000, 4000)
bloom(3, 1000, 5000)
bloom(3, 1000, 6000)
bloom(3, 1000, 10000)
bloom(5, 1000, 10000)
bloom(3, 1000, 5000)
bloom(4, 1000, 5000)
bloom <- function(n,m){(1-(1-(1/m))^((0.7*m/n)*n))^(0.7*(m/2))}
bloom(1000, 5000)
bloom(1000, 5000)
bloom(1000, 5000)
bloom <- function(n,m){(1-(1-(1/m))^((0.7*m/n)*n))^(0.7*(m/n))}
bloom(1000, 5000)
bloom(1000, 10000)
bloom(1000, 20000)
bloom(1000, 12000)
bloom(1000, 13000)
q
quit
q
quit()