summaryrefslogtreecommitdiff
path: root/1472/CH22/EX22.9/22_9.sce
blob: 7a771ab07108904461378c5390bbef7cce53648a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
//initialization of varaibles
Heat=14087 //Btu/lb
x1=0.9 //lb
x2=0.05 //lb
x3=0.05 //lb
Heat2=3952 //Btu/lb
//calculations
h1=x1*Heat
h2=x2*Heat2
e=(h1+h2)/Heat
//results
printf("Efficiency = %.2f",e)