summaryrefslogtreecommitdiff
path: root/1022/CH8/EX8.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1022/CH8/EX8.3
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 '1022/CH8/EX8.3')
-rwxr-xr-x1022/CH8/EX8.3/8_3.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1022/CH8/EX8.3/8_3.sce b/1022/CH8/EX8.3/8_3.sce
new file mode 100755
index 000000000..cf75a394e
--- /dev/null
+++ b/1022/CH8/EX8.3/8_3.sce
@@ -0,0 +1,10 @@
+clc
+//initialisation of variables
+Qh= 70000 //Btu/hr
+T= 15 //F
+T1= 72 //F
+//CALCULATIONS
+COP= (T1+460)/((T1+460)-(T+460))
+W= Qh/COP
+//RESULTS
+printf ('Minimum power required to drive the heat pump= %.f Btu/hr',W)