#importing modules
import math
from __future__ import division
#Variable declaration
t=50; #thickness of metal(mm)
d=1; #hole diameter(mm)
#Calculation
sp=(d/t)*100; #sensitivity percentage(%)
#Result
print "sensitivity percentage of wire is",sp,"%"
#importing modules
import math
from __future__ import division
#Variable declaration
I=20*10**-3; #tube current(A)
L=1; #source to film distance(m)
t=60; #exposure time(s)
#Calculation
ef=I*t/(L**2); #exposure factor
#Result
print "exposure factor is",ef
#importing modules
import math
from __future__ import division
#Variable declaration
IbyI0=20; #reduction in intensity
mew=1.62; #linear absorption coefficient(per cm)
#Calculation
x=math.log(IbyI0)/mew; #thickness of aluminium(cm)
#Result
print "thickness of aluminium is",round(x,2),"*10**-2 m"
#importing modules
import math
from __future__ import division
#Variable declaration
x=2.5*10**-2; #thickness of material(m)
mew=2; #linear absorption coefficient(per cm)
#Calculation
#Result
print " "
#importing modules
import math
from __future__ import division
#Variable declaration
ef=0.35; #exposure factor(curie hour)
pss=5; #present source strength(curie)
#Calculation
et=ef/pss; #exposure time(h)
#Result
print "exposure time is",et*60,"min"
#importing modules
import math
from __future__ import division
#Variable declaration
fd=20*10**-2; #film focus distance(m)
Sd=5*10**-2; #displacement of X-ray tube(m)
t=5*10**-2; #thickness of steel(m)
S=0.5*10**-2; #distance between images(m)
#Calculation
d=fd*S/(S+Sd); #distance of flow from bottom surface(m)
l=t-d; #location of flow from top surface(m)
#Result
print "location of flow from top surface is",round(l*10**2,1),"*10**-2 m"