summaryrefslogtreecommitdiff
path: root/3831/CH6/EX6.6/Ex6_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3831/CH6/EX6.6/Ex6_6.sce')
-rw-r--r--3831/CH6/EX6.6/Ex6_6.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3831/CH6/EX6.6/Ex6_6.sce b/3831/CH6/EX6.6/Ex6_6.sce
new file mode 100644
index 000000000..f546890e8
--- /dev/null
+++ b/3831/CH6/EX6.6/Ex6_6.sce
@@ -0,0 +1,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);