summaryrefslogtreecommitdiff
path: root/3685/CH14/EX14.1/Ex14_1.sce
blob: 924d336e6d7a74d12a9086b03a803e91a6e28fe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
T2 = -5 // Cold storage temperature in degree Celsius
T1 = 35 // Surrounding temperature in degree Celsius
COP = (T2+273)/((T1+273)-(T2+273))
ACOP = COP/3 // Actual COP
Q2 = 29 // Heat leakage in kW
W = Q2/ACOP
printf("\n Example 14.1\n")
printf("\n Power required to drive the plane is %f kW",W)
//The answers vary due to round off error