summaryrefslogtreecommitdiff
path: root/1775/CH6/EX6.1/Chapter6_Example1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1775/CH6/EX6.1/Chapter6_Example1.sce')
-rwxr-xr-x1775/CH6/EX6.1/Chapter6_Example1.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1775/CH6/EX6.1/Chapter6_Example1.sce b/1775/CH6/EX6.1/Chapter6_Example1.sce
new file mode 100755
index 000000000..0e5a30cee
--- /dev/null
+++ b/1775/CH6/EX6.1/Chapter6_Example1.sce
@@ -0,0 +1,20 @@
+//Chapter-6, Illustration 1, Page 308
+//Title: Refrigeration cycles
+//=============================================================================
+clc
+clear
+
+//INPUT DATA
+COP=8.5;//Co-efficient of performance
+T1=300;//Room temperature in K
+T2=267;//Refrigeration temperature in K
+
+//CALCULATIONS
+COPmax=T2/(T1-T2);//Maximum COP possible
+
+//OUTPUT
+mprintf('Maximum COP possible is %3.2f \n Since the COP claimed by the inventor is more than the maximum possible COP his claim is not correct',COPmax)
+
+
+
+//==============================END OF PROGRAM=================================