20: Nuclear radiation detectors and particle accelerators¶

Example number 20.1, Page number 390¶

In [3]:
#importing modules
import math
from __future__ import division

#Variable declaration
h=6.626*10**-34;    #planck's constant(Js)
e=1.6*10**-19;   #conversion factor from J to eV
m=1.67*10**-27;    #mass of proton(kg)
E=30*10**6;   #energy(eV)

#Calculation
lamdaP=h/math.sqrt(2*m*E*e);   #wavelength of proton(m)
lamdaAlpha=h/math.sqrt(2*4*m*E*e);   #wavelength of alpha particle(m)
a=2*r;    #size of nucleon(m)

#Result
print "wavelength of proton is",round(lamdaP*10**15,1),"*10**-15 m"
print "wavelength of alpha particle is",round(lamdaAlpha*10**15,1),"*10**-15 m"
print "size of nucleon is",a,"m"
print "alpha particle is better"
wavelength of proton is 5.2 *10**-15 m
wavelength of alpha particle is 2.6 *10**-15 m
size of nucleon is 2.4e-15 m
alpha particle is better

Example number 20.2, Page number 391¶

In [8]:
#importing modules
import math
from __future__ import division

#Variable declaration
q=1.6*10**-19;   #conversion factor from J to eV
B=2;   #magnetic field(T)
m=1.67*10**-27;    #mass of proton(kg)