blob: 927f826c9ed4a77ae55d79d29ed87bc69c62ab27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);
|