summaryrefslogtreecommitdiff
path: root/3685/CH9/EX9.9/Ex9_9.sce
blob: aa1565a4c1c1ce5f995cfec593f6569b19c3a9a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
h2 = 2716.2 // Enthalpy at turbine inlet in kJ/kg
hf = 844.89 // Enthalpy of fluid in kJ/kg
hfg = 1947.3 // Latent heat of vaporization in kJ/kg
h3 = 2685.5 // Enthalpy at turbine exit in kJ/kg
printf("\n Example 9.9")
x1 = (h2-hf)/hfg
x4 = (h3-hf)/hfg
printf("\n The quality of steam in pipe line is %f ",x1) //The answers vary due to round off error
printf("\n Maximum moisture content that can be determined is %f percent",100-(x4*100))//The answer provided in the textbook is wrong