summaryrefslogtreecommitdiff
path: root/3831/CH7/EX7.3/Ex7_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3831/CH7/EX7.3/Ex7_3.sce')
-rw-r--r--3831/CH7/EX7.3/Ex7_3.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3831/CH7/EX7.3/Ex7_3.sce b/3831/CH7/EX7.3/Ex7_3.sce
new file mode 100644
index 000000000..f91547ec8
--- /dev/null
+++ b/3831/CH7/EX7.3/Ex7_3.sce
@@ -0,0 +1,9 @@
+// Example 7_3
+clc;funcprot(0);
+// Given data
+T_H=95;// °F
+T_L=70;// °F
+
+// Solution
+COP=(T_L+459.67)/((T_H+459.67)-(T_L+459.67));// Coefficient of performance
+printf('\nThe Coefficient of performance,COP_Carnot air conditioner=%2.0f',COP);