summaryrefslogtreecommitdiff
path: root/2015/CH7/EX7.5/7_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2015/CH7/EX7.5/7_5.sce')
-rwxr-xr-x2015/CH7/EX7.5/7_5.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2015/CH7/EX7.5/7_5.sce b/2015/CH7/EX7.5/7_5.sce
new file mode 100755
index 000000000..bb634f317
--- /dev/null
+++ b/2015/CH7/EX7.5/7_5.sce
@@ -0,0 +1,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)