#importing modules
import math
from __future__ import division
#Variable declaration
c=500; #counting rate(counts/min)
n=10**8; #number of electrons per discharge
e=1.6*10**-19; #charge(coul)
#Calculations
tn=n*c*e; #total number of electrons collected(coul/min)
q=tn/60; #average current(amp)
#Result
print "average current is",round(q*10**10,2),"*10**-10 amp"
#importing modules
import math
from __future__ import division
#Variable declaration
q=1.333*10**-18; #current(amp)
e=1.6*10**-19; #charge(coul)
#Calculations
n=q*60/e; #counting rate per min
#Result
print "counting rate per min is",int(round(n))
#importing modules
import math
from __future__ import division
#Variable declaration
cr=3; #change in count rate(%)
cv=100; #change in working volt(V)
crl=0.1; #count rate limit(%)
#Calculations
V=crl*cv/cr; #maximum permissible voltage fluctuations(volt)
#Result
print "maximum permissible voltage fluctuations is",round(V,1),"volt"
#importing modules
import math
from __future__ import division
#Variable declaration
V=1000; #voltage(V)
r=0.02; #radius(m)
b=2*10**-2;
a=10**-4;
lt=10**9; #life time(counts)
x=2.7*10**8;
#Calculations
Emax=V/(r*(2.3*math.log10(b/a))); #radial field at the centre(V/m)
N=lt/x; #counter will last for(years)
#Result
print "radial field at the centre is",round(Emax/10**3,2),"*10**3 V/m"
print "answer for radial field given in the book is wrong"
print "counter will last for",round(N,1),"years"