summaryrefslogtreecommitdiff
path: root/1808/CH7/EX7.9/Chapter7_Exampl9.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1808/CH7/EX7.9/Chapter7_Exampl9.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1808/CH7/EX7.9/Chapter7_Exampl9.sce')
-rw-r--r--1808/CH7/EX7.9/Chapter7_Exampl9.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/1808/CH7/EX7.9/Chapter7_Exampl9.sce b/1808/CH7/EX7.9/Chapter7_Exampl9.sce
new file mode 100644
index 000000000..fca84be2e
--- /dev/null
+++ b/1808/CH7/EX7.9/Chapter7_Exampl9.sce
@@ -0,0 +1,28 @@
+clc
+clear
+//INPUT DATA
+m1=1;//mass flow rate in kg
+m2=2;//mass flow rate in kg
+t1=50;//temperature in Degree C
+t2=20;//temperature in Degree C
+x1=0.5;//temperature in Degree C
+td2=20;//Dew point temperature in Degree C
+ps1=0.12354*10^5;//Saturation pressure in N/m^2
+ps2=17.52;//Saturation pressure in mm Hg
+p=760;//pressure in mm of Hg
+m12=0.5;//Ratio of masses
+
+//CALCULATIONS
+pv1=x1*ps1;//vapour pressure in mm Hg
+pv11=pv1/133.5;//vapour pressure in mm Hg
+w1=0.622*(pv11/(p-pv11));//Specific humidity in kg w.v./kg d.a
+w2=0.622*(ps2/(p-ps2));//Specific humidity in kg w.v./kg d.a
+w3=(w1+2*w2)/3;//Specific humidity in kg w.v./kg d.a
+t3=(t1+2*t2)/3;//temperature in Degree C
+
+//OUTPUT
+printf('(i)Temperature of the mixture is %3.1f Degree C \n (ii)Specific humidity of the mixture is %3.5f kg/kg d.a.',t3,w3)
+
+
+
+