summaryrefslogtreecommitdiff
path: root/2339/CH4/EX4.28.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2339/CH4/EX4.28.1
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 '2339/CH4/EX4.28.1')
-rwxr-xr-x2339/CH4/EX4.28.1/Ex4_28.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2339/CH4/EX4.28.1/Ex4_28.sce b/2339/CH4/EX4.28.1/Ex4_28.sce
new file mode 100755
index 000000000..f821d3b39
--- /dev/null
+++ b/2339/CH4/EX4.28.1/Ex4_28.sce
@@ -0,0 +1,22 @@
+clc
+clear
+
+P1=11; //in bar
+P2=1.1; //in bar
+T2=130+273; //in K
+Cps=2.1; //in kJ/kg K
+
+//At 11 bar
+Hf1=781.3; //in kJ/kg
+Hfg1=2000.4; //in kJ/kg
+
+//At 1.1 bar
+Hg2=2679.7; //in kJ/kg
+Tsat=102.3+273; //in K
+Tsup=130+273;
+
+//Now for throttling process, H1=H2
+H2=Hg2+(Cps*(Tsup-Tsat));
+x=((H2-Hf1)*100)/Hfg1;
+printf('The dryness fraction of steam: %2.1f',x);
+printf('\n');