summaryrefslogtreecommitdiff
path: root/2870/CH6/EX6.3/Ex6_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2870/CH6/EX6.3/Ex6_3.sce')
-rwxr-xr-x2870/CH6/EX6.3/Ex6_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2870/CH6/EX6.3/Ex6_3.sce b/2870/CH6/EX6.3/Ex6_3.sce
new file mode 100755
index 000000000..8f24b93a5
--- /dev/null
+++ b/2870/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,12 @@
+clc;clear;
+//Example 6.3
+
+//given data
+Wnet=2;
+QL=360;
+
+//calculations
+COPR=QL/Wnet/60;//factor of 60 to convert kW to kJ/min
+disp(COPR,'coefficient of performance of refrigerator');
+QH=QL+Wnet*60;//factor of 60 to convert kW to kJ/min
+disp(QH,'heat rejection rate in kJ/min')