summaryrefslogtreecommitdiff
path: root/3878/CH21/EX21.3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3878/CH21/EX21.3
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 '3878/CH21/EX21.3')
-rw-r--r--3878/CH21/EX21.3/Ex21_3.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3878/CH21/EX21.3/Ex21_3.sce b/3878/CH21/EX21.3/Ex21_3.sce
new file mode 100644
index 000000000..af36e332b
--- /dev/null
+++ b/3878/CH21/EX21.3/Ex21_3.sce
@@ -0,0 +1,24 @@
+clear
+// Variable declaration
+T_ra=21// The temperature of the returning air
+H=50// % saturation
+T_d=28// The dry bulb temperature in °C
+T_w=20// The wet bulb temperature in °C
+m_a=20// The mass flow rate of returning air in kg/s
+m_b=3// The mass flow rate of outside air in kg/s
+x_ra=0.0079// The moisture content in kg/kg
+x_oa=0.0111// The moisture content in kg/kg
+h_a=41.8// The enthalpy in kJ/kg
+h_b=56.6// The enthalpy in kJ/kg
+
+// Calculation
+// Method (b)
+t_c=((T_ra*m_a)+(T_d*m_b))/(m_a+m_b)// °C
+g_c=((x_ra*m_a)+(x_oa*m_b))/(m_a+m_b)// kg/kg
+h_c=((h_a*m_a)+(h_a*m_b))/(m_a+m_b)// kJ/kg dry air
+printf("\n \nThe condition of the mixture,t_c=%2.1f°C",t_c)
+
+printf("\n \n g_c=%0.4f kg/kg",g_c)
+
+printf("\n \n h_c=%2.1f kJ/kg dry air",h_c)
+