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 /2507/CH10/EX10.6 | |
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 '2507/CH10/EX10.6')
-rwxr-xr-x | 2507/CH10/EX10.6/Ex10_6.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2507/CH10/EX10.6/Ex10_6.sce b/2507/CH10/EX10.6/Ex10_6.sce new file mode 100755 index 000000000..17bb4ce2c --- /dev/null +++ b/2507/CH10/EX10.6/Ex10_6.sce @@ -0,0 +1,18 @@ +clc
+clear
+printf("Example 10.6 | Page number 353 \n\n");
+//Find all properties of steam
+//Given Data
+p = 12 //bar //pressure of steam leaving boiler
+h = 2705 //kJ/kg //Enthalpy of steam
+//Solution
+//From pressure based saturated property table, at p = 12bar
+hf = 798.64 //kJ/kg
+hg = 2784.8 //kJ/kg
+x = (h-hf)/(hg-hf) //Dryness fraction
+v = (1-x)*0.001139 + (x)*0.1633 //m^3/kg
+s = (1-x)*2.2165 + (x)*6.5233 //m^3/kgK
+u = h - p*v*100 //kJ/kg
+printf("Volume per kg water = %.6f m^3/kg\n",v)
+printf("Internal energy per kg water = %.1f kJ/kg\n",u)
+printf("Entropy per kg water = %.4f kJ/kgK",s)
|