summaryrefslogtreecommitdiff
path: root/3685/CH8/EX8.1/Ex8_1.sce
blob: 3088a8fed3884f54b04a8ed00d06de150dfcd287 (plain)
1
2
3
4
5
6
7
8
clc
T0 = 35 // Heat rejection temperature in degree Celsius 
T1 = 420 //  Vapor condensation temperature in degree Celsius 
T1_ = 250 // water vapor temperature in degree Celsius 
printf("\n Example 8.1")
f = ((T0+273)*((T1+273)-(T1_+273)))/((T1_+273)*((T1+273)-(T0+273)))// fraction of energy lost
printf("\n The fraction of energy that becomes unavailable due to irreversible heat transfer is %f ",f)
//The answers vary due to round off error