summaryrefslogtreecommitdiff
path: root/2510/CH13/EX13.11
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2510/CH13/EX13.11
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2510/CH13/EX13.11')
-rwxr-xr-x2510/CH13/EX13.11/Ex13_11.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2510/CH13/EX13.11/Ex13_11.sce b/2510/CH13/EX13.11/Ex13_11.sce
new file mode 100755
index 000000000..63b906462
--- /dev/null
+++ b/2510/CH13/EX13.11/Ex13_11.sce
@@ -0,0 +1,13 @@
+//Variable declaration:
+//From figure 13.2:
+h1 = 390.0 //Fluid enthalpy on entering the compressor (kJ/kg)
+h2 = 430.0 //Fluid enthalpy on leaving the compressor (kJ/kg)
+h3 = 230.0 //Fluid enthalpy on leaving the condenser (kJ/kg)
+
+//Calculation:
+QH = h2 - h3 //Heat rejected from the condenser (kJ/kg)
+W_in = h2 - h1 //Change in enthalpy across the compressor (kJ/kg)
+QC = QH - W_in //Heat absorbed by the evaporator (kJ/kg)
+
+//Result:
+printf("The heat absorbed by the evaporator of the refrigerator is : %.0f kJ/kg.",QC)