diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3831/CH6/EX6.6/Ex6_6.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3831/CH6/EX6.6/Ex6_6.sce')
-rw-r--r-- | 3831/CH6/EX6.6/Ex6_6.sce | 17 |
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);
|