source:
Backup NB/Talks/MEMPHYS-Trigger/Trigger.nb
@
700
Last change on this file since 700 was 388, checked in by , 16 years ago | |
---|---|
File size: 348 bytes |
Rev | Line | |
---|---|---|
[388] | 1 | Trigger[n_, N_, dt_, f_] := P[n, N, dt, f]*P[0, N, 5/10^9, f]* |
2 | P[1, N, 5/10^9, f]*(10^9/5) | |
3 | ||
4 | P[n_, N_, dt_, f_] := PDF[BinomialDistribution[N, p[dt, f]], n] | |
5 | ||
6 | PDF /: PDF::usage = "PDF[distribution, x] gives the probability density \ | |
7 | function of the specified statistical distribution evaluated at x." | |
8 | ||
9 | p[dt_, f_] := 1 - Exp[(-dt)*f] |
Note: See TracBrowser
for help on using the repository browser.