summaryrefslogtreecommitdiff
path: root/3878/CH1/EX1.1/Ex1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3878/CH1/EX1.1/Ex1_1.sce')
-rw-r--r--3878/CH1/EX1.1/Ex1_1.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3878/CH1/EX1.1/Ex1_1.sce b/3878/CH1/EX1.1/Ex1_1.sce
new file mode 100644
index 000000000..40770a487
--- /dev/null
+++ b/3878/CH1/EX1.1/Ex1_1.sce
@@ -0,0 +1,8 @@
+clear
+// Variable Declaration
+T_0=-5+273// K
+T_1=35+273// K
+
+// Calculation
+COP=(T_0)/(T_1-T_0)// Coefficient of performance
+printf("\n Carnot COP= %0.2f error",COP)