summaryrefslogtreecommitdiff
path: root/3850/CH24/EX24.6/Ex24_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3850/CH24/EX24.6/Ex24_6.sce')
-rw-r--r--3850/CH24/EX24.6/Ex24_6.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3850/CH24/EX24.6/Ex24_6.sce b/3850/CH24/EX24.6/Ex24_6.sce
new file mode 100644
index 000000000..4d023bedd
--- /dev/null
+++ b/3850/CH24/EX24.6/Ex24_6.sce
@@ -0,0 +1,16 @@
+
+//To calculate the relative humidity
+
+//Example 24.6
+
+clear;
+
+clc;
+
+Pvap=12;//vapour pressure of air at 20 degree celsius
+
+SVP=17.5;//saturation vapour pressure at 20 degree celsius
+
+RH=Pvap/SVP;//relative humidity
+
+printf("Relative Humidity=%.2f",RH);