diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2339/CH4/EX4.34.1/Ex4_34.sce | |
download | Scilab-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.34.1/Ex4_34.sce')
-rwxr-xr-x | 2339/CH4/EX4.34.1/Ex4_34.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2339/CH4/EX4.34.1/Ex4_34.sce b/2339/CH4/EX4.34.1/Ex4_34.sce new file mode 100755 index 000000000..a848a827c --- /dev/null +++ b/2339/CH4/EX4.34.1/Ex4_34.sce @@ -0,0 +1,24 @@ +clc
+clear
+
+Ms=20; //in kg
+Mw=2; //in kg
+Cps=2.1; //in kJ/kg K
+x1=Ms/(Ms+Mw); //Dryness fraction
+
+//At 12 bar pressure
+Hf1=798.6; //in kJ/kg
+Hfg1=1986.2; //in kJ/kg
+
+//At 1 bar pressure
+Hg2=2675.5; //in kJ/kg
+Tsup=110+273; //in K
+Tsat=99+273; //in K
+
+//For throttling, H1=H2
+H2=Hg2+(Cps*(Tsup-Tsat));
+x2=(H2-Hf1)/Hfg1;
+
+x=x1*x2;
+printf('Dryness fraction of steam: %2.4f kJ',x);
+printf('\n');
|