source: Backup NB/Talks/MEMPHYS-Trigger/Trigger.nb @ 409

Last change on this file since 409 was 388, checked in by campagne, 16 years ago
File size: 348 bytes
Line 
1Trigger[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 
4P[n_, N_, dt_, f_] := PDF[BinomialDistribution[N, p[dt, f]], n]
5 
6PDF /: PDF::usage = "PDF[distribution, x] gives the probability density \
7function of the specified statistical distribution evaluated at x."
8 
9p[dt_, f_] := 1 - Exp[(-dt)*f]
Note: See TracBrowser for help on using the repository browser.