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 /172/CH13/EX13.3/ex3.sce | |
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 '172/CH13/EX13.3/ex3.sce')
-rwxr-xr-x | 172/CH13/EX13.3/ex3.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/172/CH13/EX13.3/ex3.sce b/172/CH13/EX13.3/ex3.sce new file mode 100755 index 000000000..e9a1b29a6 --- /dev/null +++ b/172/CH13/EX13.3/ex3.sce @@ -0,0 +1,16 @@ +//ques3
+//calculating humidity ratio, dew point,mass of air, mass of vapor
+clear
+clc
+r=0.70;//relative humidity
+Pg=5.628;//saturation pressure in kPa
+Pv=r*Pg;//vapour pressure in kPa
+P=100;//net pressure kPa
+Pa=P-Pv;//Partial pressure of air
+w=0.622*Pv/Pa;//humidity ratio formula
+V=100;//volume in m^3
+Ra=0.287;//gas constant for water vapour
+T=308.2;//Temperature in K
+ma=Pa*V/(Ra*T);//mass in kg
+mv=w*ma;//mass of vapour
+printf('Mass of vapour = %.2f Kg ', mv);
\ No newline at end of file |