summaryrefslogtreecommitdiff
path: root/2969/CH4/EX4.14
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2969/CH4/EX4.14
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 '2969/CH4/EX4.14')
-rwxr-xr-x2969/CH4/EX4.14/Ex4_14.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/2969/CH4/EX4.14/Ex4_14.sce b/2969/CH4/EX4.14/Ex4_14.sce
new file mode 100755
index 000000000..4a9b111ed
--- /dev/null
+++ b/2969/CH4/EX4.14/Ex4_14.sce
@@ -0,0 +1,23 @@
+clc
+clear
+//DATA GIVEN
+p=7; //pressure of steam
+h=2550; //enthalpy of steam
+
+//At 7 bar, from steam tables
+hf=697.1; //kJ/kg
+hfg=2064.9; //kJ/kg
+vg=0.273; //m^3/kg
+uf=696; //kJ/kg
+ug=2573; //kJ/kg
+
+hg=hf+hfg;
+//At 7 bar, hg=2762 kJ/kg, hence since actual enthalpy is given as 2550 kJ/kg, the steam must be in wet vapour state
+//specific enthalpy of wet steam, h=hf+x*hfg
+x=(h-hf)/hfg; //dryness fraction
+v=x*vg; //specific volume of wet steam
+u=(1-x)*uf+x*ug; //specific internal energy of wet steam
+
+printf(' (i) The Dryness fraction x is: %1.3f. \n',x);
+printf(' (ii) The Specific volume v is: %1.4f m^3/kg. \n',v);
+printf('(iii) The Specific internal energy u is: %4.2f kJ/kg. \n',u);