summaryrefslogtreecommitdiff
path: root/2267/CH7/EX7.11/ex7_11.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2267/CH7/EX7.11/ex7_11.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 '2267/CH7/EX7.11/ex7_11.sce')
-rwxr-xr-x2267/CH7/EX7.11/ex7_11.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2267/CH7/EX7.11/ex7_11.sce b/2267/CH7/EX7.11/ex7_11.sce
new file mode 100755
index 000000000..77f3652fa
--- /dev/null
+++ b/2267/CH7/EX7.11/ex7_11.sce
@@ -0,0 +1,16 @@
+//Part A Chapter 7 Example 11
+clc;
+clear;
+close;
+V=2;//m^3(Volume of vessel)
+T=150//degree C
+vf=0.001091;//m^3/kg//at 150 degree C
+vg=0.3928;//m^3/kg//at 150 degree C
+v_water=V*3/5//m^3
+v_steam=V*2/5//m^3
+mf=v_water/vf;//kg
+mg=v_steam/vg;//kg
+m=mf+mg;//kg//Total mass
+x=mg/m;//dryness fraction
+disp("Total mass is "+string(m)+" kg & Quality is "+string(x));
+//Answer is wrong in the book.