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

Last change on this file since 409 was 388, checked in by campagne, 16 years ago
File size: 6.0 KB
Line 
1(************** Content-type: application/mathematica **************
2
3                    Mathematica-Compatible Notebook
4
5This notebook can be used with any Mathematica-compatible
6application, such as Mathematica, MathReader or Publicon. The data
7for the notebook starts with the line containing stars above.
8
9To get the notebook into a Mathematica-compatible application, do
10one of the following:
11
12* Save the data starting with the line of stars above into a file
13  with a name ending in .nb, then open the file inside the
14  application;
15
16* Copy the data starting with the line of stars above to the
17  clipboard, then use the Paste menu command inside the application.
18
19Data for notebooks contains only printable 7-bit ASCII and can be
20sent directly in email or through ftp in text mode.  Newlines can be
21CR, LF or CRLF (Unix, Macintosh or MS-DOS style).
22
23NOTE: If you modify the data for this notebook not in a Mathematica-
24compatible application, you must delete the line below containing
25the word CacheID, otherwise Mathematica-compatible applications may
26try to use invalid cache data.
27
28For more information on notebooks and Mathematica-compatible
29applications, contact Wolfram Research:
30  web: http://www.wolfram.com
31  email: info@wolfram.com
32  phone: +1-217-398-0700 (U.S.)
33
34Notebook reader applications are available free of charge from
35Wolfram Research.
36*******************************************************************)
37
38(*CacheID: 232*)
39
40
41(*NotebookFileLineBreakTest
42NotebookFileLineBreakTest*)
43(*NotebookOptionsPosition[      4203,        143]*)
44(*NotebookOutlinePosition[      5092,        173]*)
45(*  CellTagsIndexPosition[      5005,        167]*)
46(*WindowFrame->Normal*)
47
48
49
50Notebook[{
51Cell[BoxData[
52    \(<< Statistics`DiscreteDistributions`\)], "Input",
53  FontFamily->"Arial TUR",
54  FontSize->16],
55
56Cell[BoxData[
57    \(PoissPDF[k_, N_, dt_, f_] := 
58      PDF[PoissonDistribution[N*f*dt], k]\)], "Input",
59  FontFamily->"Arial TUR",
60  FontSize->16],
61
62Cell[BoxData[
63    \(Trigger0[nTh_, N_, dt_, f_] := 
64      Evaluate[Sum[
65            PoissPDF[k, N, 5/10^9, f]*
66              PoissPDF[nTh - k, N, dt, 
67                f]*\((1 - Sum[PoissPDF[j, N, 5/10^9, f], {j, 0, k}])\), {k, 
68              0, nTh}]]*\((10^9/5)\)\)], "Input",
69  FontFamily->"Arial TUR",
70  FontSize->16],
71
72Cell[BoxData[
73    \(Trigger[nTh_, N_, dt_, f_] := 
74      Evaluate[Sum[
75            PoissPDF[k, N, 0.0001/10^9, f]*
76              PoissPDF[nm - k, N, dt - 0.0001/10^9, 
77                f]*\((1 - 
78                  Sum[PoissPDF[j, N, 0.0001/10^9, f], {j, 0, 
79                      k + nTh - nm}])\), {nm, 0, nTh}, {k, 0, nm}]]*\((10^9/
80            0.0001)\)\)], "Input",
81  FontFamily->"Arial TUR",
82  FontSize->16],
83
84Cell[CellGroupData[{
85
86Cell[BoxData[
87    \(\(?Trigger\)\)], "Input",
88  FontFamily->"Arial TUR",
89  FontSize->16],
90
91Cell["Global`Trigger", "Print",
92  FontFamily->"Arial TUR",
93  FontSize->16,
94  CellTags->"Info3362411253-9063905"],
95
96Cell[BoxData[
97    InterpretationBox[GridBox[{
98          {GridBox[{
99                {\(Trigger[nTh_, N_, dt_, f_] := 
100                    1\/5\ Evaluate[\[Sum]\+\(nm = 0\)\%nTh\(\[Sum]\+\(k = 0\)\
101\%nm PoissPDF[k, N, 5\/10\^9, f]\ PoissPDF[nm - k, N, dt - 5\/10\^9, 
102                                f]\ \((1 - \[Sum]\+\(j = 0\)\%\(k + nTh - \
103nm\)PoissPDF[j, N, 5\/10\^9, f])\)\)]\ 10\^9\)}
104                },
105              GridBaseline->{Baseline, {1, 1}},
106              ColumnWidths->0.999,
107              ColumnAlignments->{Left}]}
108          },
109        GridBaseline->{Baseline, {1, 1}},
110        ColumnAlignments->{Left}],
111      Definition[ "Trigger"],
112      Editable->False]], "Print",
113  FontFamily->"Arial TUR",
114  FontSize->16,
115  CellTags->"Info3362411253-9063905"]
116}, Open  ]],
117
118Cell[CellGroupData[{
119
120Cell[BoxData[
121    \(N[Trigger0[52, 81000, 425/10^9, 10^3]]\)], "Input",
122  FontFamily->"Arial TUR",
123  FontSize->16],
124
125Cell[BoxData[
126    \(57161.0960845246`\)], "Output",
127  FontFamily->"Arial TUR",
128  FontSize->16]
129}, Open  ]],
130
131Cell[CellGroupData[{
132
133Cell[BoxData[
134    \(N[Trigger[52, 81000, 425/10^9, 1\ 10^3]]\)], "Input",
135  FontFamily->"Arial TUR",
136  FontSize->16],
137
138Cell[BoxData[
139    \(93044.35202434182`\)], "Output"]
140}, Open  ]],
141
142Cell[BoxData[""], "Input"]
143},
144FrontEndVersion->"4.1 for Microsoft Windows",
145ScreenRectangle->{{0, 1024}, {0, 685}},
146WindowSize->{805, 527},
147WindowMargins->{{50, Automatic}, {Automatic, -8}}
148]
149
150(*******************************************************************
151Cached data follows.  If you edit this Notebook file directly, not
152using Mathematica, you must remove the line containing CacheID at
153the top of  the file.  The cache data will then be recreated when
154you save this file from within Mathematica.
155*******************************************************************)
156
157(*CellTagsOutline
158CellTagsIndex->{
159  "Info3362411253-9063905"->{
160    Cell[2820, 90, 112, 3, 28, "Print",
161      CellTags->"Info3362411253-9063905"],
162    Cell[2935, 95, 767, 19, 128, "Print",
163      CellTags->"Info3362411253-9063905"]}
164  }
165*)
166
167(*CellTagsIndex
168CellTagsIndex->{
169  {"Info3362411253-9063905", 4811, 158}
170  }
171*)
172
173(*NotebookFileOutline
174Notebook[{
175Cell[1705, 50, 112, 3, 33, "Input"],
176Cell[1820, 55, 147, 4, 33, "Input"],
177Cell[1970, 61, 320, 8, 81, "Input"],
178Cell[2293, 71, 411, 10, 105, "Input"],
179
180Cell[CellGroupData[{
181Cell[2729, 85, 88, 3, 33, "Input"],
182Cell[2820, 90, 112, 3, 28, "Print",
183  CellTags->"Info3362411253-9063905"],
184Cell[2935, 95, 767, 19, 128, "Print",
185  CellTags->"Info3362411253-9063905"]
186}, Open  ]],
187
188Cell[CellGroupData[{
189Cell[3739, 119, 114, 3, 33, "Input"],
190Cell[3856, 124, 94, 3, 32, "Output"]
191}, Open  ]],
192
193Cell[CellGroupData[{
194Cell[3987, 132, 116, 3, 33, "Input"],
195Cell[4106, 137, 52, 1, 29, "Output"]
196}, Open  ]],
197Cell[4173, 141, 26, 0, 30, "Input"]
198}
199]
200*)
201
202
203
204(*******************************************************************
205End of Mathematica Notebook file.
206*******************************************************************)
207
Note: See TracBrowser for help on using the repository browser.