blob: bb634f317a512b880f198bdd4a421c67002357c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
clc
//initialisation of variables
p=1.01325 //pressure in bar
pv=0.020 //pressure in bar at 21 degrees temp
ws=0.0154 //kg/kg of da
w=0.0123 //kg/kg of da
vs=0.86 //under 21 degrees temp m*m*m/kg
w1=0.0074
//CALCULATIONS
pa=p-pv
sr=w/ws
rho=1/vs
avc=0.0163-w1
//RESULTS
printf('partial pressure of vapour and dry air are %2fbar and %2fbar',pv,pa)
disp('dew point temp is 17.4 degrees')
disp('specific humidity is 0.0123 kg/kg of da')
printf('\nsaturation ratio is %2f',sr)
printf('\ndensity of misture is %2fkg/m*m*m',rho)
printf('\namount of water vapour condensed is %2fkg/kg of da',avc)
|