#given
#page no 379
#find the amount heat absourbed by the cooling system
import math
hp=300.
F=0.38
f=19200.
hi=0.30
Hi=hp*F*f
C=hi*Hi
Cs=C/hp
print"%s %.2f %s"%("heat lost to cooling system",Cs,"per bhp-hr")
#given
#page no 379
import math
#find the gallons of water it is neccasry to pump
x=160.
h=2600.
t=60.
#part (a)
#water temperaute rise in 15 deg
Cs=x*h
print "part a"
Hcs=Cs/t
#absorbs per minutes is 15
Aw=Hcs/15.
#gals of water per min 8.33
G=Aw/8.33
print"%s %.2f %s"%("amount of water",Aw,"gpm")
print"%s %.2f %s"%("amount of water",G,"gpm")
print"partb"
#pound of water required to absorb is 45 deg
Aw1=Hcs/45.
#gallon per water required per min 8.33
G1=Aw1/8.33
print"%s %.2f %s"%("amount of water required of 45 deg",Aw1,"gpm")
print"%s %.2f %s"%("gallon of water required of 45 deg",G1,"gpm")
#given
import math
#page no 389
#find how many gallons will a 64-inches
#two thirds of 6 is 4
l=120+4+4
#from table
#capacity of full tank
Cf=13.93*l
print"%s %.2f %s"%("capacity of full tank",Cf,"gal")
#given
#how many gallon does the same tank hold of 25 inches
x=25.
y=64
z=x/y
print"%s %.2f %s"%("gallons does hold",z,"")
#volume fraction
#1783 is last problem got result we are using it same one
Z=0.3611
Ct=Z*1783.
print"%s %.2f %s"%("content of tank",Ct,"gal")
#given
#page no 394
#find out how much air enter in cylinder
#as th amount water air taken into engine per hour
x=300
c=3.9
t=60.
D=1.2*70200./(1000.)
#dust entering
#engine in 1 year
E=D*9.*250.
De=E/7000.
print"%s %.2f %s"%("dust entering engine ",De,"")