From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1913/CH2/EX2.28/ex28.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 1913/CH2/EX2.28/ex28.sce (limited to '1913/CH2/EX2.28/ex28.sce') diff --git a/1913/CH2/EX2.28/ex28.sce b/1913/CH2/EX2.28/ex28.sce new file mode 100755 index 000000000..96da2fd93 --- /dev/null +++ b/1913/CH2/EX2.28/ex28.sce @@ -0,0 +1,19 @@ +clc +clear +//Input data +m1=100;//Air flow rate in kg/hr +q1=600;//The heat generated by each person in kJ/hr +h1=85;//The enthalpy of air entering the room in kJ/kg +h2=60;//The enthalpy of air leaving the room in kJ/kg +Q1=0.2;//The heat added by each lamp in the room in kW +P1=0.2;//The power consumed by each fan in kW + +//Calculations +q=(5*q1)/3600;//The heat generated by 5 persons in the room in kW +Q=3*Q1;//The heat added by three lamps in the room in kW +P=2*P1;//The power consumed by two fans in the room in kW +m=m1/3600;//Mass flow rate of air in kg/s +H=[q+Q+P]+[m*(h1-h2)];//Heat to be removed by the cooler in kW + +//Output +printf('The rate at which the heat is to be removed by cooler X = %3.3f kJ/sec ',H) -- cgit