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 /581/CH11/EX11.5 | |
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 '581/CH11/EX11.5')
-rwxr-xr-x | 581/CH11/EX11.5/Example11_5.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/581/CH11/EX11.5/Example11_5.sce b/581/CH11/EX11.5/Example11_5.sce new file mode 100755 index 000000000..db4b22fa6 --- /dev/null +++ b/581/CH11/EX11.5/Example11_5.sce @@ -0,0 +1,19 @@ +
+clear;
+clc;
+
+printf("\t Example 11.5\n");
+Psat = [0.6113 1.2276 2.3385 4.2461 7.3837 12.35 19.941 31.188 47.39 70.139 101.325];
+T = [0.01 10 20 30 40 50 60 70 80 90 100];
+i=1;
+while i<12
+ xw(i)=Psat(i)/101.325; //mole fraction of water
+ printf("\n %.4f",xw(i));
+ mw(i)=(xw(i)*18.02)/(xw(i)*18.02+(1-xw(i))*28.96);//mass fraction of water
+ i = i+1;
+end
+plot(T,mw);
+xtitle("Mass fraction of water vapour in air above liquid water surface as a function of surface temperature(1 atm total pressure)","Temperature(degree celsius)","Mass fraction of water vapor");
+
+
+
|