summaryrefslogtreecommitdiff
path: root/1808/CH7/EX7.7/Chapter7_Exampl7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1808/CH7/EX7.7/Chapter7_Exampl7.sce')
-rw-r--r--1808/CH7/EX7.7/Chapter7_Exampl7.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1808/CH7/EX7.7/Chapter7_Exampl7.sce b/1808/CH7/EX7.7/Chapter7_Exampl7.sce
new file mode 100644
index 000000000..1547af956
--- /dev/null
+++ b/1808/CH7/EX7.7/Chapter7_Exampl7.sce
@@ -0,0 +1,14 @@
+clc
+clear
+//INPUT DATA
+t=25;//dry bulb temperature in Degree c
+ws=8.6/100;//Specific humidity in kg w.v./kg d.a
+p=760;//pressure in mm of Hg
+ps=23.74;//Saturation pressure in mm of Hg
+
+//CALCULATIONS
+pv=10.508/1.01383;//Partial pressure of water vapour in mm Hg
+x=(pv/ps)*100;//realtive humidity in percentage
+
+//OUTPUT
+printf('(a)Partial pressure of dry air vapour is %3.3f mm Hg \n (b)Relative humidity is %3.2f percentage ',pv,x)