diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3825/CH10/EX10.8/Ex10_8.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3825/CH10/EX10.8/Ex10_8.sce')
-rw-r--r-- | 3825/CH10/EX10.8/Ex10_8.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3825/CH10/EX10.8/Ex10_8.sce b/3825/CH10/EX10.8/Ex10_8.sce new file mode 100644 index 000000000..916e6bd9d --- /dev/null +++ b/3825/CH10/EX10.8/Ex10_8.sce @@ -0,0 +1,21 @@ +clc
+Ps=4.241 //in kPa
+pw2=Ps
+P=101.325 //in kPa
+pa=P-pw2
+w2=0.622*(pw2/pa)
+mprintf("w2=%f kg H2O/kg dry air\n",w2)//ans vary due to roundoff error
+hfg2=2430.74
+hg1=2574.4
+hf2=125.66
+Cp=1.005
+T1=40 //in celsius
+T2=30 //in celsius
+w1=(Cp*(T2-T1)+w2*hfg2)/(hg1-hf2)
+mprintf("w1=%f kg H2O/kg dry air\n",w1)//ans vary due to roundoff error
+pw=P/(1+(0.622/w1))
+mprintf("pw=%fkPa\n",pw)//ans vary due to roundoff error
+Ps=7.375
+phi1=pw/Ps
+mprintf("phi1=%f",phi1)//ans vary due to roundoff error
+
|