summaryrefslogtreecommitdiff
path: root/172/CH7/EX7.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /172/CH7/EX7.2
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '172/CH7/EX7.2')
-rwxr-xr-x172/CH7/EX7.2/ex2.sce10
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