summaryrefslogtreecommitdiff
path: root/1808/CH6/EX6.2/Chapter6_Exampl2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1808/CH6/EX6.2/Chapter6_Exampl2.sce')
-rw-r--r--1808/CH6/EX6.2/Chapter6_Exampl2.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1808/CH6/EX6.2/Chapter6_Exampl2.sce b/1808/CH6/EX6.2/Chapter6_Exampl2.sce
new file mode 100644
index 000000000..c128bd3f3
--- /dev/null
+++ b/1808/CH6/EX6.2/Chapter6_Exampl2.sce
@@ -0,0 +1,16 @@
+clc
+clear
+//INPUT DATA
+COP=4;//COP
+WD=20;//workdone of cycle in kW
+
+//CALCULATIONS
+x=1+(1/COP);//Ratio of temperatures
+Re=COP*WD;//Refrigeration effect in kW
+Re1=Re*60;//Refrigeration effect in kJ/min
+Re2=Re1/210;//Refrigeration effect in TR
+Hd=Re+WD;//Heat delivered in kW
+COP1=Hd/WD;//COP of heat pump
+
+//OUTPUT
+printf('(i)Temperature ratio is %3.2f \n (ii)maximum refrigeration effect is %3.2f TR \n (iii)COP of heat pump is %3.2f',x,Re2,COP1)