summaryrefslogtreecommitdiff
path: root/2015/CH8/EX8.1/8_1.sce
blob: 7e3a00ccd53643048b5f4375a7b42c06fb85bcac (plain)
1
2
3
4
5
6
7
8
9
10
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))