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