summaryrefslogtreecommitdiff
path: root/2024/CH6/EX6.4/6_4.sce
blob: d1c3328465d2fa567fe9bcad3968aba9d99ae89e (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
//Initialization of variables
disp("From steam tables,")
T1=355.21 //F
T2=500 //F
hg=1193.4 //Btu/lbm
h=1274.8 //Btu/lbm
//calculations
Qrev=h-hg
//results
printf("Heat transferred = %.1f Btu/lbm",Qrev)