summaryrefslogtreecommitdiff
path: root/2705/CH4/EX4.5/Ex4_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2705/CH4/EX4.5/Ex4_5.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 '2705/CH4/EX4.5/Ex4_5.sce')
-rwxr-xr-x2705/CH4/EX4.5/Ex4_5.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/2705/CH4/EX4.5/Ex4_5.sce b/2705/CH4/EX4.5/Ex4_5.sce
new file mode 100755
index 000000000..c2c030046
--- /dev/null
+++ b/2705/CH4/EX4.5/Ex4_5.sce
@@ -0,0 +1,25 @@
+clear;
+clc;
+disp('Example 4.5');
+
+// aim : To determine
+// the specific enthalpy
+
+// Given values
+P = 70; // pressure, [kn/m^2]
+x = .85; // Dryness fraction
+
+// solution
+
+// from steam table, at given pressure
+hf = 376.8;// [kJ/kg]
+hfg = 2283.3;// [kJ/kg]
+
+// now using equation [2]
+h = hf+x*hfg;// specific enthalpy of wet steam,[kJ/kg]
+
+mprintf('\n The specific enthalpy of wet steam is = %f kJ/kg \n',h);
+
+// There is minor variation in the book's answer
+
+// End