summaryrefslogtreecommitdiff
path: root/3850/CH24/EX24.7/Ex24_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3850/CH24/EX24.7/Ex24_7.sce')
-rw-r--r--3850/CH24/EX24.7/Ex24_7.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3850/CH24/EX24.7/Ex24_7.sce b/3850/CH24/EX24.7/Ex24_7.sce
new file mode 100644
index 000000000..927f826c9
--- /dev/null
+++ b/3850/CH24/EX24.7/Ex24_7.sce
@@ -0,0 +1,16 @@
+
+//To calculate the relative humidity
+
+//Example 24.7
+
+clear;
+
+clc;
+
+Pvap=8.94;//vapour pressure at the dew point in (mm of Hg)
+
+SVP=55.1;//saturation vapour pressure at the air temperature in (mm of Hg)
+
+RH=(Pvap/SVP)*100;//finding the relative humidity
+
+printf("Relative Humidity=%.1f percent",RH);