summaryrefslogtreecommitdiff
path: root/2141/CH5/EX5.8/Ex5_8.sce
blob: 3f0aab8d8c0addf629144d142d7b435ccfaae765 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

clc
//initialisation of variables
h1=1314.7 //Btu/lbm
h2=1288.7//btu/lbm
h3=1116.2-0.07*1022.2//Btu/lbm
h4=77.9//Btu/lbm
h5=3.0 //Btu/lbm
//CALCULATIONS
q=h2-h1 //Btu/lbm
W=h2-h3 //Btu/lbm
q2=h4-h3 //Btu/lbm
W2=h5+h4 //Btu/lbm
Q=h1-W2 //Btu/lbm
//RESULTS
printf('The quantities of per pound mass flowing through the unit=% f Btu/lbm',Q)