summaryrefslogtreecommitdiff
path: root/1922/CH4/EX4.11/4_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '1922/CH4/EX4.11/4_11.sce')
-rwxr-xr-x1922/CH4/EX4.11/4_11.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1922/CH4/EX4.11/4_11.sce b/1922/CH4/EX4.11/4_11.sce
new file mode 100755
index 000000000..28622551c
--- /dev/null
+++ b/1922/CH4/EX4.11/4_11.sce
@@ -0,0 +1,9 @@
+clc
+clear
+//Initialization of variables
+T1=280 //K
+T2=300 //K
+//calculations
+cop=T1/(T2-T1)
+//results
+printf("coefficient of performance = %.1f",cop)