summaryrefslogtreecommitdiff
path: root/2510/CH14/EX14.2/Ex14_2.sce
blob: 632d51d66223a4c1432892381b35b490d42c3054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Variable declaration:
n = 1200.0                  //Flow rate of air in a molar flow rate (lbmol/min)
Cp = 0.26                   //Average heat capacity (Btu/lbmol.°F)
T1 = 200.0                  //Initial temperature (°F)
T2 = 1200.0                 //Final temperature (°F)

//Calculation:
DT = T2 - T1                //Change in temperature (°F)
Q = n*Cp*DT                 //Required heat rate (Btu/min)

//Result:
printf("The required heat rate is : %.2f x 10^5 Btu/min.",Q/10**5)