| [388] | 1 | (************** Content-type: application/mathematica ************** | 
|---|
|  | 2 |  | 
|---|
|  | 3 | Mathematica-Compatible Notebook | 
|---|
|  | 4 |  | 
|---|
|  | 5 | This notebook can be used with any Mathematica-compatible | 
|---|
|  | 6 | application, such as Mathematica, MathReader or Publicon. The data | 
|---|
|  | 7 | for the notebook starts with the line containing stars above. | 
|---|
|  | 8 |  | 
|---|
|  | 9 | To get the notebook into a Mathematica-compatible application, do | 
|---|
|  | 10 | one 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 |  | 
|---|
|  | 19 | Data for notebooks contains only printable 7-bit ASCII and can be | 
|---|
|  | 20 | sent directly in email or through ftp in text mode.  Newlines can be | 
|---|
|  | 21 | CR, LF or CRLF (Unix, Macintosh or MS-DOS style). | 
|---|
|  | 22 |  | 
|---|
|  | 23 | NOTE: If you modify the data for this notebook not in a Mathematica- | 
|---|
|  | 24 | compatible application, you must delete the line below containing | 
|---|
|  | 25 | the word CacheID, otherwise Mathematica-compatible applications may | 
|---|
|  | 26 | try to use invalid cache data. | 
|---|
|  | 27 |  | 
|---|
|  | 28 | For more information on notebooks and Mathematica-compatible | 
|---|
|  | 29 | applications, contact Wolfram Research: | 
|---|
|  | 30 | web: http://www.wolfram.com | 
|---|
|  | 31 | email: info@wolfram.com | 
|---|
|  | 32 | phone: +1-217-398-0700 (U.S.) | 
|---|
|  | 33 |  | 
|---|
|  | 34 | Notebook reader applications are available free of charge from | 
|---|
|  | 35 | Wolfram Research. | 
|---|
|  | 36 | *******************************************************************) | 
|---|
|  | 37 |  | 
|---|
|  | 38 | (*CacheID: 232*) | 
|---|
|  | 39 |  | 
|---|
|  | 40 |  | 
|---|
|  | 41 | (*NotebookFileLineBreakTest | 
|---|
|  | 42 | NotebookFileLineBreakTest*) | 
|---|
|  | 43 | (*NotebookOptionsPosition[      4203,        143]*) | 
|---|
|  | 44 | (*NotebookOutlinePosition[      5092,        173]*) | 
|---|
|  | 45 | (*  CellTagsIndexPosition[      5005,        167]*) | 
|---|
|  | 46 | (*WindowFrame->Normal*) | 
|---|
|  | 47 |  | 
|---|
|  | 48 |  | 
|---|
|  | 49 |  | 
|---|
|  | 50 | Notebook[{ | 
|---|
|  | 51 | Cell[BoxData[ | 
|---|
|  | 52 | \(<< Statistics`DiscreteDistributions`\)], "Input", | 
|---|
|  | 53 | FontFamily->"Arial TUR", | 
|---|
|  | 54 | FontSize->16], | 
|---|
|  | 55 |  | 
|---|
|  | 56 | Cell[BoxData[ | 
|---|
|  | 57 | \(PoissPDF[k_, N_, dt_, f_] := | 
|---|
|  | 58 | PDF[PoissonDistribution[N*f*dt], k]\)], "Input", | 
|---|
|  | 59 | FontFamily->"Arial TUR", | 
|---|
|  | 60 | FontSize->16], | 
|---|
|  | 61 |  | 
|---|
|  | 62 | Cell[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 |  | 
|---|
|  | 72 | Cell[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 |  | 
|---|
|  | 84 | Cell[CellGroupData[{ | 
|---|
|  | 85 |  | 
|---|
|  | 86 | Cell[BoxData[ | 
|---|
|  | 87 | \(\(?Trigger\)\)], "Input", | 
|---|
|  | 88 | FontFamily->"Arial TUR", | 
|---|
|  | 89 | FontSize->16], | 
|---|
|  | 90 |  | 
|---|
|  | 91 | Cell["Global`Trigger", "Print", | 
|---|
|  | 92 | FontFamily->"Arial TUR", | 
|---|
|  | 93 | FontSize->16, | 
|---|
|  | 94 | CellTags->"Info3362411253-9063905"], | 
|---|
|  | 95 |  | 
|---|
|  | 96 | Cell[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 - \ | 
|---|
|  | 103 | nm\)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 |  | 
|---|
|  | 118 | Cell[CellGroupData[{ | 
|---|
|  | 119 |  | 
|---|
|  | 120 | Cell[BoxData[ | 
|---|
|  | 121 | \(N[Trigger0[52, 81000, 425/10^9, 10^3]]\)], "Input", | 
|---|
|  | 122 | FontFamily->"Arial TUR", | 
|---|
|  | 123 | FontSize->16], | 
|---|
|  | 124 |  | 
|---|
|  | 125 | Cell[BoxData[ | 
|---|
|  | 126 | \(57161.0960845246`\)], "Output", | 
|---|
|  | 127 | FontFamily->"Arial TUR", | 
|---|
|  | 128 | FontSize->16] | 
|---|
|  | 129 | }, Open  ]], | 
|---|
|  | 130 |  | 
|---|
|  | 131 | Cell[CellGroupData[{ | 
|---|
|  | 132 |  | 
|---|
|  | 133 | Cell[BoxData[ | 
|---|
|  | 134 | \(N[Trigger[52, 81000, 425/10^9, 1\ 10^3]]\)], "Input", | 
|---|
|  | 135 | FontFamily->"Arial TUR", | 
|---|
|  | 136 | FontSize->16], | 
|---|
|  | 137 |  | 
|---|
|  | 138 | Cell[BoxData[ | 
|---|
|  | 139 | \(93044.35202434182`\)], "Output"] | 
|---|
|  | 140 | }, Open  ]], | 
|---|
|  | 141 |  | 
|---|
|  | 142 | Cell[BoxData[""], "Input"] | 
|---|
|  | 143 | }, | 
|---|
|  | 144 | FrontEndVersion->"4.1 for Microsoft Windows", | 
|---|
|  | 145 | ScreenRectangle->{{0, 1024}, {0, 685}}, | 
|---|
|  | 146 | WindowSize->{805, 527}, | 
|---|
|  | 147 | WindowMargins->{{50, Automatic}, {Automatic, -8}} | 
|---|
|  | 148 | ] | 
|---|
|  | 149 |  | 
|---|
|  | 150 | (******************************************************************* | 
|---|
|  | 151 | Cached data follows.  If you edit this Notebook file directly, not | 
|---|
|  | 152 | using Mathematica, you must remove the line containing CacheID at | 
|---|
|  | 153 | the top of  the file.  The cache data will then be recreated when | 
|---|
|  | 154 | you save this file from within Mathematica. | 
|---|
|  | 155 | *******************************************************************) | 
|---|
|  | 156 |  | 
|---|
|  | 157 | (*CellTagsOutline | 
|---|
|  | 158 | CellTagsIndex->{ | 
|---|
|  | 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 | 
|---|
|  | 168 | CellTagsIndex->{ | 
|---|
|  | 169 | {"Info3362411253-9063905", 4811, 158} | 
|---|
|  | 170 | } | 
|---|
|  | 171 | *) | 
|---|
|  | 172 |  | 
|---|
|  | 173 | (*NotebookFileOutline | 
|---|
|  | 174 | Notebook[{ | 
|---|
|  | 175 | Cell[1705, 50, 112, 3, 33, "Input"], | 
|---|
|  | 176 | Cell[1820, 55, 147, 4, 33, "Input"], | 
|---|
|  | 177 | Cell[1970, 61, 320, 8, 81, "Input"], | 
|---|
|  | 178 | Cell[2293, 71, 411, 10, 105, "Input"], | 
|---|
|  | 179 |  | 
|---|
|  | 180 | Cell[CellGroupData[{ | 
|---|
|  | 181 | Cell[2729, 85, 88, 3, 33, "Input"], | 
|---|
|  | 182 | Cell[2820, 90, 112, 3, 28, "Print", | 
|---|
|  | 183 | CellTags->"Info3362411253-9063905"], | 
|---|
|  | 184 | Cell[2935, 95, 767, 19, 128, "Print", | 
|---|
|  | 185 | CellTags->"Info3362411253-9063905"] | 
|---|
|  | 186 | }, Open  ]], | 
|---|
|  | 187 |  | 
|---|
|  | 188 | Cell[CellGroupData[{ | 
|---|
|  | 189 | Cell[3739, 119, 114, 3, 33, "Input"], | 
|---|
|  | 190 | Cell[3856, 124, 94, 3, 32, "Output"] | 
|---|
|  | 191 | }, Open  ]], | 
|---|
|  | 192 |  | 
|---|
|  | 193 | Cell[CellGroupData[{ | 
|---|
|  | 194 | Cell[3987, 132, 116, 3, 33, "Input"], | 
|---|
|  | 195 | Cell[4106, 137, 52, 1, 29, "Output"] | 
|---|
|  | 196 | }, Open  ]], | 
|---|
|  | 197 | Cell[4173, 141, 26, 0, 30, "Input"] | 
|---|
|  | 198 | } | 
|---|
|  | 199 | ] | 
|---|
|  | 200 | *) | 
|---|
|  | 201 |  | 
|---|
|  | 202 |  | 
|---|
|  | 203 |  | 
|---|
|  | 204 | (******************************************************************* | 
|---|
|  | 205 | End of Mathematica Notebook file. | 
|---|
|  | 206 | *******************************************************************) | 
|---|
|  | 207 |  | 
|---|