[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[ 4243, 146]*) |
---|
| 44 | (*NotebookOutlinePosition[ 5366, 182]*) |
---|
| 45 | (* CellTagsIndexPosition[ 5238, 175]*) |
---|
| 46 | (*WindowFrame->Normal*) |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | Notebook[{ |
---|
| 51 | Cell[BoxData[ |
---|
| 52 | \(\(\(<< Statistics`DiscreteDistributions`\)\(\[IndentingNewLine]\) |
---|
| 53 | \)\)], "Input"], |
---|
| 54 | |
---|
| 55 | Cell[BoxData[ |
---|
| 56 | \(PoissPDF[k_, N_, dt_, f_] := |
---|
| 57 | PDF[PoissonDistribution[N*f*dt], k]\)], "Input"], |
---|
| 58 | |
---|
| 59 | Cell[CellGroupData[{ |
---|
| 60 | |
---|
| 61 | Cell[BoxData[ |
---|
| 62 | \(\(?PoissPDF\)\)], "Input"], |
---|
| 63 | |
---|
| 64 | Cell["Global`PoissPDF", "Print", |
---|
| 65 | CellTags->"Info3362307184-6683970"], |
---|
| 66 | |
---|
| 67 | Cell[BoxData[ |
---|
| 68 | InterpretationBox[GridBox[{ |
---|
| 69 | {GridBox[{ |
---|
| 70 | {\(PoissPDF[k_, N_, dt_, f_] := |
---|
| 71 | PDF[PoissonDistribution[N\ f\ dt], k]\)} |
---|
| 72 | }, |
---|
| 73 | GridBaseline->{Baseline, {1, 1}}, |
---|
| 74 | ColumnWidths->0.999, |
---|
| 75 | ColumnAlignments->{Left}]} |
---|
| 76 | }, |
---|
| 77 | GridBaseline->{Baseline, {1, 1}}, |
---|
| 78 | ColumnAlignments->{Left}], |
---|
| 79 | Definition[ "PoissPDF"], |
---|
| 80 | Editable->False]], "Print", |
---|
| 81 | CellTags->"Info3362307184-6683970"] |
---|
| 82 | }, Open ]], |
---|
| 83 | |
---|
| 84 | Cell[BoxData[ |
---|
| 85 | \(Trigger[nTh_, N_, dt_, f_] := |
---|
| 86 | Evaluate[Sum[ |
---|
| 87 | PoissPDF[k, N, 5/10^9, f]* |
---|
| 88 | PoissPDF[nTh - k, N, dt, |
---|
| 89 | f]*\((1 - Sum[PoissPDF[j, N, 5/10^9, f], {j, 0, k}])\), {k, |
---|
| 90 | 0, nTh}]]*\((10^9/5)\)\)], "Input"], |
---|
| 91 | |
---|
| 92 | Cell[CellGroupData[{ |
---|
| 93 | |
---|
| 94 | Cell[BoxData[ |
---|
| 95 | \(\(?Trigger\)\)], "Input"], |
---|
| 96 | |
---|
| 97 | Cell["Global`Trigger", "Print", |
---|
| 98 | CellTags->"Info3362307731-1140847"], |
---|
| 99 | |
---|
| 100 | Cell[BoxData[ |
---|
| 101 | InterpretationBox[GridBox[{ |
---|
| 102 | {GridBox[{ |
---|
| 103 | {\(Trigger[nTh_, N_, dt_, f_] := |
---|
| 104 | 1\/5\ Evaluate[\[Sum]\+\(k = 0\)\%nTh PoissPDF[k, N, |
---|
| 105 | 5\/10\^9, f]\ PoissPDF[nTh - k, N, dt, |
---|
| 106 | f]\ \((1 - \[Sum]\+\(j = 0\)\%k PoissPDF[j, N, |
---|
| 107 | 5\/10\^9, f])\)]\ 10\^9\)} |
---|
| 108 | }, |
---|
| 109 | GridBaseline->{Baseline, {1, 1}}, |
---|
| 110 | ColumnWidths->0.999, |
---|
| 111 | ColumnAlignments->{Left}]} |
---|
| 112 | }, |
---|
| 113 | GridBaseline->{Baseline, {1, 1}}, |
---|
| 114 | ColumnAlignments->{Left}], |
---|
| 115 | Definition[ "Trigger"], |
---|
| 116 | Editable->False]], "Print", |
---|
| 117 | CellTags->"Info3362307731-1140847"] |
---|
| 118 | }, Open ]], |
---|
| 119 | |
---|
| 120 | Cell[CellGroupData[{ |
---|
| 121 | |
---|
| 122 | Cell[BoxData[ |
---|
| 123 | \(N[Trigger[133, 81000, 425/10^9, 3\ 10^3]]\)], "Input"], |
---|
| 124 | |
---|
| 125 | Cell[BoxData[ |
---|
| 126 | \(57679.52805210537`\)], "Output"] |
---|
| 127 | }, Open ]], |
---|
| 128 | |
---|
| 129 | Cell[CellGroupData[{ |
---|
| 130 | |
---|
| 131 | Cell[BoxData[ |
---|
| 132 | \(N[%]\)], "Input"], |
---|
| 133 | |
---|
| 134 | Cell[BoxData[ |
---|
| 135 | \(0.000285805480422623`\)], "Output"] |
---|
| 136 | }, Open ]], |
---|
| 137 | |
---|
| 138 | Cell[CellGroupData[{ |
---|
| 139 | |
---|
| 140 | Cell[BoxData[ |
---|
| 141 | \(N[PoissPDF[249, 81000, 425/10^9, 6\ 10^3]*81000*6*10^3]\)], "Input"], |
---|
| 142 | |
---|
| 143 | Cell[BoxData[ |
---|
| 144 | \(205465.67261408278`\)], "Output"] |
---|
| 145 | }, Open ]] |
---|
| 146 | }, |
---|
| 147 | FrontEndVersion->"4.1 for Microsoft Windows", |
---|
| 148 | ScreenRectangle->{{0, 1024}, {0, 685}}, |
---|
| 149 | WindowSize->{495, 527}, |
---|
| 150 | WindowMargins->{{0, Automatic}, {Automatic, 0}} |
---|
| 151 | ] |
---|
| 152 | |
---|
| 153 | (******************************************************************* |
---|
| 154 | Cached data follows. If you edit this Notebook file directly, not |
---|
| 155 | using Mathematica, you must remove the line containing CacheID at |
---|
| 156 | the top of the file. The cache data will then be recreated when |
---|
| 157 | you save this file from within Mathematica. |
---|
| 158 | *******************************************************************) |
---|
| 159 | |
---|
| 160 | (*CellTagsOutline |
---|
| 161 | CellTagsIndex->{ |
---|
| 162 | "Info3362307184-6683970"->{ |
---|
| 163 | Cell[1991, 63, 70, 1, 25, "Print", |
---|
| 164 | CellTags->"Info3362307184-6683970"], |
---|
| 165 | Cell[2064, 66, 512, 14, 44, "Print", |
---|
| 166 | CellTags->"Info3362307184-6683970"]}, |
---|
| 167 | "Info3362307731-1140847"->{ |
---|
| 168 | Cell[2940, 96, 69, 1, 25, "Print", |
---|
| 169 | CellTags->"Info3362307731-1140847"], |
---|
| 170 | Cell[3012, 99, 736, 17, 77, "Print", |
---|
| 171 | CellTags->"Info3362307731-1140847"]} |
---|
| 172 | } |
---|
| 173 | *) |
---|
| 174 | |
---|
| 175 | (*CellTagsIndex |
---|
| 176 | CellTagsIndex->{ |
---|
| 177 | {"Info3362307184-6683970", 4849, 161}, |
---|
| 178 | {"Info3362307731-1140847", 5046, 166} |
---|
| 179 | } |
---|
| 180 | *) |
---|
| 181 | |
---|
| 182 | (*NotebookFileOutline |
---|
| 183 | Notebook[{ |
---|
| 184 | Cell[1705, 50, 105, 2, 50, "Input"], |
---|
| 185 | Cell[1813, 54, 104, 2, 50, "Input"], |
---|
| 186 | |
---|
| 187 | Cell[CellGroupData[{ |
---|
| 188 | Cell[1942, 60, 46, 1, 30, "Input"], |
---|
| 189 | Cell[1991, 63, 70, 1, 25, "Print", |
---|
| 190 | CellTags->"Info3362307184-6683970"], |
---|
| 191 | Cell[2064, 66, 512, 14, 44, "Print", |
---|
| 192 | CellTags->"Info3362307184-6683970"] |
---|
| 193 | }, Open ]], |
---|
| 194 | Cell[2591, 83, 276, 6, 130, "Input"], |
---|
| 195 | |
---|
| 196 | Cell[CellGroupData[{ |
---|
| 197 | Cell[2892, 93, 45, 1, 30, "Input"], |
---|
| 198 | Cell[2940, 96, 69, 1, 25, "Print", |
---|
| 199 | CellTags->"Info3362307731-1140847"], |
---|
| 200 | Cell[3012, 99, 736, 17, 77, "Print", |
---|
| 201 | CellTags->"Info3362307731-1140847"] |
---|
| 202 | }, Open ]], |
---|
| 203 | |
---|
| 204 | Cell[CellGroupData[{ |
---|
| 205 | Cell[3785, 121, 74, 1, 30, "Input"], |
---|
| 206 | Cell[3862, 124, 52, 1, 29, "Output"] |
---|
| 207 | }, Open ]], |
---|
| 208 | |
---|
| 209 | Cell[CellGroupData[{ |
---|
| 210 | Cell[3951, 130, 37, 1, 30, "Input"], |
---|
| 211 | Cell[3991, 133, 55, 1, 29, "Output"] |
---|
| 212 | }, Open ]], |
---|
| 213 | |
---|
| 214 | Cell[CellGroupData[{ |
---|
| 215 | Cell[4083, 139, 88, 1, 30, "Input"], |
---|
| 216 | Cell[4174, 142, 53, 1, 29, "Output"] |
---|
| 217 | }, Open ]] |
---|
| 218 | } |
---|
| 219 | ] |
---|
| 220 | *) |
---|
| 221 | |
---|
| 222 | |
---|
| 223 | |
---|
| 224 | (******************************************************************* |
---|
| 225 | End of Mathematica Notebook file. |
---|
| 226 | *******************************************************************) |
---|
| 227 | |
---|