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.5/Chapter7_Exampl5.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.5/Chapter7_Exampl5.sce')
-rw-r--r-- | 1808/CH7/EX7.5/Chapter7_Exampl5.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/1808/CH7/EX7.5/Chapter7_Exampl5.sce b/1808/CH7/EX7.5/Chapter7_Exampl5.sce new file mode 100644 index 000000000..0d8e424d9 --- /dev/null +++ b/1808/CH7/EX7.5/Chapter7_Exampl5.sce @@ -0,0 +1,24 @@ +clc
+clear
+//INPUT DATA
+t=30;//dry bulb temperature in Degree c
+x=30;//realtive humidity in percentage
+p=760;//pressure in mm of Hg
+p2=0.04246*10^5;//pressure in N/m^2
+V=100;//volume in m^3
+Rv=0.461;//vapour constant
+Ra=0.2871;//gas constant
+
+//CALCULATIONS
+ps=(p2/133.5);//pressure in mm of Hg
+pv=0.3*ps;//vapour pressure in mm of Hg
+pa=p-pv;//air pressure in mm of Hg
+w=(0.62*(pv/(p-pv)));//Specific humidity in kg w.v./kg d.a
+ws=(0.62*(ps/(p-ps)));//Specific humidity in kg w.v./kg d.a
+m=w/ws;//Degree of saturation
+mv=pv*133.5*V/(Rv*(t+273)*1000);//Mass of vapour in kg.w.v.
+ma=pa*133.5*V/(Ra*1000*(t+273));//Mass of dry air in kg.d.a.
+
+//OUTPUT
+printf('(a)Partial pressure of dry air vapour is %3.3f mm Hg \n (b)Dew point temperature is 10.62 Degree c \n (c)Specific humidity %3.4f kg w.v./kg d.a \n (d)Degree of saturation is %3.3f \n (e)mass of vapour is %3.4f kg.w.v.\n (f)mass of dry air is %3.4f kg.d.a',pa,w,m,mv,ma)
+
|