summaryrefslogtreecommitdiff
path: root/3831/CH6/EX6.6/Ex6_6.sce
blob: f546890e819a29e1ddf6e8aa87c57ed2e9c8e476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Example 6_6
clc;funcprot(0);
// Given data
p_1=2.00;// MPa
T_1=800;// °C
p_2=1.00;// MPa
Wbymdot=2000;// kJ/kg

// Calculation
h_1=4150.4;// kJ/kg
h_f2=29.30;// kJ/kg
h_fg2=2484.9;// kJ/kg
h_g2=2514.2;// kJ/kg
h_2=h_1-Wbymdot;// kJ/kg
x_2=(h_2-h_f2)/h_fg2;// The quality of steam
x_2=x_2*100;// % vapor at the turbine’s outlet
printf("\nThe quality of the steam at the outlet of an insulated steam turbine,x_2=%2.1f percentage.",x_2);