Chapter5-Heat and Combustion

Ex1-pg76

In [1]:
#given
#find the heat required 
t2=185
t1=95
W1=42
cp=0.5
g=0.92
w1=8.31*g
W=W1*w1
Q=W*cp*(t2-t1)
print(W)
print"%s %.2f %s"%("heat required is",Q,"")

#answer is slighlty different due to roundoff error 
321.0984
heat required is 14449.43 

Ex2-pg79

In [2]:
#given
#find the back pressure and heat required 
import math
g=9.
w1=0.0361
Bp=g*w1
#as 1 psi =2.036
Bp1=Bp*2.0326
print"%s %.3f %s"%("back pressure",Bp,"")
print"%s %.2f %s"%("heat required is",Bp1,"")
back pressure 0.325 
heat required is 0.66 

Ex3-pg80

In [3]:
#given
#find the total weight of a given temperature and velocity
import math
v=9500.
p=5.
t=180.
V=v/(12.**3)
#normal barometric pressure 14.7
bP=p+14.7
bP1=144.*bP
#640 is total temperature conveting into k
W=(bP1*V)/(53.3*640.)

print"%s %.2f %s"%("total weight",W,"")
total weight 0.42 

Ex4-pg81

In [2]:
#given
import math
#find the rate of flow outlet
t=600.
c=1200.
t2=400.
AT=t+460.
AT1=t2+460.
Rfo=c*(AT1/AT)
print"%s %.2f %s"%("Rate of flow outlet",Rfo,"")
Rate of flow outlet 973.58 

Ex5-pg81

In [5]:
#given
import math
#find the final pressure gage and convert absloute temperature to normal temprature 
a=210.
t=160.
t2=60.
#absloute temperature to convert is 460
AT=160.+460.
AT1=60.+460.
IP=210.+14.7
FP=IP*(520./620.)
print(FP)
FPg=(FP-14.7)
print"%s %.2f %s"%("final pressue gage is",FPg,"")
188.458064516
final pressue gage is 173.76 

Ex6-pg81

In [6]:
#given
import math
#find the final pressure gage
a=240.
b=15.
IP=14.7
FP=IP*(a/b)
Fpg=FP-IP
print"%s %.2f %s"%("final pressure gage is",Fpg,"")
final pressue gage is 220.50 

Ex7-pg85

In [10]:
#given
#find out weight of hydrogen
import math
#1lb hydrogen +8 lb oxygen gives
T=1.+8.
#this problem deals with 24 lb oxygen so
t=24./8.
#multiplying all equation by 3
TT=3+24

print"%s %.2f %s"%("3 lb of hydrogen requires",TT,"lb")
3 lb of hydrogen requires 27.00 lb

Ex8-pg86

In [7]:
#given
o=0.14
h=0.86
O=120*o
H=120*h
O2=134.4+275.5
print"%s %.2f %s"%("Total O2 uniting with oil",O2,"")
Total O2 uniting with oil 409.90 

Ex9-pg87

In [1]:
import math
#find the total weight and airfuel ratio
#given data
O2=409.9
lb=0.231
w=409.9
W=w/lb
AFR=W/120.
print"%s %.2f %s"%("toatl weight",W,"")
print"%s %.2f %s"%("air fuel ratio",AFR,"")
toatl weight 1774.46 
air fuel ratio 14.79