# Chapter No 11: Seals and packings

### Example 11.1, Page No 269

In [1]:
#Variable initialization
d=4.0              #in diameter
p=20.0             #percent
d1=0.140           #in cross section

#CALCULATIONS
Gd=d-2.0*((100.0 -20.0)*d1 /100.0)
Gw=d1+2.0*(p*d1/100.0)

#RESULTS
print(' Groove diameter = %.3f in ' %Gd)
print(' \n Groove width = %.3f in ' %Gw)
print('\n outside diameter = %.3f in ' %d)

 Groove diameter = 3.776 in

Groove width = 0.196 in

outside diameter = 4.000 in 

### Example 11.2 Page NO 272

In [1]:
import math

#Variable initialization
D=2.0         #in diameter
S=10.0        #in stroke
s=10000.0     #stroke in
V=231.0       #in^3 volume

#CALCULATIONS
di=(V/(S*s*D* math.pi))

#RESULTS
print(' Thickness= %.6f in ' %di)

 Thickness= 0.000368 in


### Example 11.3 Page No 277

In [3]:
#Variable initialization
d=0.275       #in diameter
p=15.0        #initial squeeze percent
p1=20.0       #increase in squeeze percent
p3=8.0        #reduction in squeeze percent

#CALCULATIONS
Fs=(d*p/100.0)+(d*p1/100.0)-(d*p3 /100.0)
Fs1= Fs *100.0/ d

#RESULTS
print('\n final available squeeze = %.3f percent' %Fs1 )

 final available squeeze = 27.000 percent