summaryrefslogtreecommitdiff
path: root/2015/CH8/EX8.1
diff options
context:
space:
mode:
Diffstat (limited to '2015/CH8/EX8.1')
-rwxr-xr-x2015/CH8/EX8.1/8_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2015/CH8/EX8.1/8_1.sce b/2015/CH8/EX8.1/8_1.sce
new file mode 100755
index 000000000..7e3a00ccd
--- /dev/null
+++ b/2015/CH8/EX8.1/8_1.sce
@@ -0,0 +1,11 @@
+clc
+//initialisation of variables
+cc=12000 //btu/h
+pi=1565 ///watts
+ra=7 //btu/h/w
+//CALCULATIONS
+eer=cc/pi
+p(1)=cc/ra
+//RESULTS
+printf('eer is %2f',eer)
+printf('\npower consumption of first unit is %2fwatts',p(1))