summaryrefslogtreecommitdiff
path: root/2417/CH5/EX5.39
diff options
context:
space:
mode:
Diffstat (limited to '2417/CH5/EX5.39')
-rwxr-xr-x2417/CH5/EX5.39/Ex5_39.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2417/CH5/EX5.39/Ex5_39.sce b/2417/CH5/EX5.39/Ex5_39.sce
new file mode 100755
index 000000000..e0433db04
--- /dev/null
+++ b/2417/CH5/EX5.39/Ex5_39.sce
@@ -0,0 +1,17 @@
+//scilab 5.4.1
+clear;
+clc;
+printf("\t\t\tProblem Number 5.39\n\n\n");
+// Chapter 5 : Properties Of Liquids And Gases
+// Problem 5.39 (page no. 226)
+// Solution
+
+//As refering to figure 5.21,it will be seen that the final temperature and enthalpy will both be higher than for the isentropic case.
+//80% of the isentropic enthalpy difference
+deltah=0.8*122; //change in enthalpy //Btu/lbm
+h1=1270; //Btu/lbm //initial enthalpy
+h2=h1-deltah; //the final enthalpy //Btu/lbm
+printf("The final enthalpy is %f Btu/lbm\n",h2);
+printf("and the final pressure is 200 psia\n");
+printf("The Mollier chart indicates the final state to be in the wet region,\n");
+printf("with 3.1percent moisture content and an entropy of 1.514 Btu/lbm*R");