summaryrefslogtreecommitdiff
path: root/1775/CH4/EX4.11/Chapter4_Example11.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1775/CH4/EX4.11/Chapter4_Example11.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1775/CH4/EX4.11/Chapter4_Example11.sce')
-rwxr-xr-x1775/CH4/EX4.11/Chapter4_Example11.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/1775/CH4/EX4.11/Chapter4_Example11.sce b/1775/CH4/EX4.11/Chapter4_Example11.sce
new file mode 100755
index 000000000..7ba02eb0c
--- /dev/null
+++ b/1775/CH4/EX4.11/Chapter4_Example11.sce
@@ -0,0 +1,29 @@
+//Chapter-4, Illustration 11, Page 174
+//Title: Steam Nozzles and Steam Turbines
+//=============================================================================
+clc
+clear
+
+//INPUT DATA
+P1=10;//Pressure at point 1 in bar
+T1=452.9;//Temperature at point 1 in K
+P2=4;//Pressure at point 2 in bar
+n=1.3;//Adiabatic gas constant
+Ps=0.803;//Saturation pressure at T2 in bar
+Ts=143.6;//Saturation temperature at P2 in oC
+//CALCULATIONS
+x=(n-1)/n;//Ratio
+T2=((P2/P1)^x)*T1;//Temperature at point 2 in K
+Ds=P2/Ps;//Degree of supersaturation
+Du=Ts-(T2-273);//Degree of undercooling
+
+//OUTPUT
+mprintf('Degree of supersaturation is %3.2f \n Degree of undercooling %3.0f oC',Ds,Du)
+
+
+
+
+
+
+
+//==============================END OF PROGRAM=================================