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 /1808/CH7/EX7.12/Chapter7_Exampl12.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 '1808/CH7/EX7.12/Chapter7_Exampl12.sce')
-rw-r--r-- | 1808/CH7/EX7.12/Chapter7_Exampl12.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/1808/CH7/EX7.12/Chapter7_Exampl12.sce b/1808/CH7/EX7.12/Chapter7_Exampl12.sce new file mode 100644 index 000000000..55f5ab9bf --- /dev/null +++ b/1808/CH7/EX7.12/Chapter7_Exampl12.sce @@ -0,0 +1,22 @@ +clc
+clear
+//INPUT DATA
+tw1=20;//wet bulb temperature in Degree c
+t1=30;//dry bulb temperature in Degree c
+t2=15;//dry bulb temperature in Degree c
+pva=17.0521;//Saturation pressure in mm Hg
+p=760;//pressure in mm of Hg
+ps1=31.81;//pressure in mm of Hg
+ps2=12.77;//pressure in mm of Hg
+
+//CALCULATIONS
+pv1=(pva-((p-pva)*(t1-tw1)*1.8)/(2800-(1.3*(1.8*t1+32))));//Saturation pressure in mm Hg
+x1=(pv1/ps1)*100;//realtive humidity in percentage
+w1=0.622*(pv1/(p-pv1));//Specific humidity in kg w.v./kg d.a
+pv2=12.55;//Saturation pressure in mm Hg
+x2=(pv2/ps2)*100;//realtive humidity in percentage
+
+//OUTPUT
+printf('(a)Initial RH is %3.2f percentage \n (ii)Final RH is %3.2f percentage \n (c) from the chart Final wet bulb temperature according to chart is 14.5 Degree C ',x1,x2)
+
+
|