summaryrefslogtreecommitdiff
path: root/Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter10.ipynb
blob: c43b7f8c604fae436e11278824fbf589221d66ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 10: Nuclear Detectors"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example number 1, Page number 284"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "average current is 1.33 *10**-10 amp\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration    \n",
    "c=500;           #counting rate(counts/min)\n",
    "n=10**8;         #number of electrons per discharge\n",
    "e=1.6*10**-19;   #charge(coul)\n",
    "\n",
    "#Calculations\n",
    "tn=n*c*e;          #total number of electrons collected(coul/min)\n",
    "q=tn/60;           #average current(amp)\n",
    "\n",
    "#Result\n",
    "print \"average current is\",round(q*10**10,2),\"*10**-10 amp\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example number 2, Page number 284"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "counting rate per min is 500\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration    \n",
    "q=1.333*10**-18;       #current(amp)\n",
    "e=1.6*10**-19;         #charge(coul)\n",
    "\n",
    "#Calculations\n",
    "n=q*60/e;              #counting rate per min\n",
    "\n",
    "#Result\n",
    "print \"counting rate per min is\",int(round(n))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example number 3, Page number 284"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "maximum permissible voltage fluctuations is 3.3 volt\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration    \n",
    "cr=3;         #change in count rate(%)\n",
    "cv=100;       #change in working volt(V)\n",
    "crl=0.1;      #count rate limit(%)\n",
    "\n",
    "#Calculations\n",
    "V=crl*cv/cr;     #maximum permissible voltage fluctuations(volt)\n",
    "\n",
    "#Result\n",
    "print \"maximum permissible voltage fluctuations is\",round(V,1),\"volt\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example number 4, Page number 285"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "radial field at the centre is 9.45 *10**3 V/m\n",
      "answer for radial field given in the book is wrong\n",
      "counter will last for 3.7 years\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration    \n",
    "V=1000;          #voltage(V)\n",
    "r=0.02;          #radius(m)\n",
    "b=2*10**-2;    \n",
    "a=10**-4; \n",
    "lt=10**9;        #life time(counts)\n",
    "x=2.7*10**8;     \n",
    "\n",
    "#Calculations\n",
    "Emax=V/(r*(2.3*math.log10(b/a)));     #radial field at the centre(V/m)\n",
    "N=lt/x;                               #counter will last for(years)\n",
    "\n",
    "#Result\n",
    "print \"radial field at the centre is\",round(Emax/10**3,2),\"*10**3 V/m\"\n",
    "print \"answer for radial field given in the book is wrong\"\n",
    "print \"counter will last for\",round(N,1),\"years\""
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.11"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}