diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2015/CH7/EX7.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2015/CH7/EX7.2')
-rwxr-xr-x | 2015/CH7/EX7.2/7_2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2015/CH7/EX7.2/7_2.sce b/2015/CH7/EX7.2/7_2.sce new file mode 100755 index 000000000..8501800c6 --- /dev/null +++ b/2015/CH7/EX7.2/7_2.sce @@ -0,0 +1,16 @@ +clc
+//initialisation of variables
+t1=26 //temp in degrees
+t2=32 //temp in degrees
+pvs=0.033597 //pressure in bar
+ps=0.047534 //pressure in bar
+p=1.013 //pressure in bar
+a=6.6*10^-4
+//CALCULATIONS
+pv=pvs-(p*a*(t2-t1))
+w=(0.622*pv)/(p-pv)
+phi=pv/ps
+//RESULTS
+printf('specific humidity is %2fkg/kg of da',w)
+printf('\nrelative humidity is %2f',phi)
+disp('dew point temp is 23.5 degrees') //from steam tables
|