summaryrefslogtreecommitdiff
path: root/2510/CH13/EX13.12/Ex13_12.sce
blob: 412ce1ace68cdf1e36029bd9d249e29052bcec8a (plain)
1
2
3
4
5
6
7
8
9
10
//Variable declaration:
//From example 13.11:
W_in = 40.0                  //Change in enthalpy across the compressor (kJ/kg)
QC = 160.0                   //Heat absorbed by the evaporator (kJ/kg)

//Calculation:
COP = QC/W_in               //Refrigerator’s C.O.P.

//Result:
printf("the refrigerators C.O.P. is : %.0f .",COP)