diff options
Diffstat (limited to '172/CH7/EX7.2/ex2.sce')
-rwxr-xr-x | 172/CH7/EX7.2/ex2.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/172/CH7/EX7.2/ex2.sce b/172/CH7/EX7.2/ex2.sce new file mode 100755 index 000000000..d12cedf23 --- /dev/null +++ b/172/CH7/EX7.2/ex2.sce @@ -0,0 +1,10 @@ +//example 2
+//coefficient of performance of refrigerator
+clear
+clc
+Qh=400 //heat rejected to kitchen air in W
+W=150 //electrical input power in W
+Ql=Qh-W //rate of energy taken out to cold space in W
+B=Ql/W //coefficicent of performnace of refrigerator
+printf("\n hence,rate of energy taken out of the cold space is Ql=%.3f W.\n",Ql)
+printf("\n and coefficient of performance of the refrigerator is B=%.3f .\n",B)
\ No newline at end of file |