summaryrefslogtreecommitdiff
path: root/476/CH5/EX5.10/Example_5_10.sce
blob: 4bc840f35d68ab7d8cf9a3c02331ddd07914ccda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//A Textbook of Chemical Engineering Thermodynamics
//Chapter 5
//Some Applications of the Laws of Thermodynamics
//Example 10


clear;
clc;


//Given:
T1= 290; //operating temperature (K)
W = 1000; //work (J)
tof = 3516.67; //ton of refrigeration (W)

//To determine COP, heat rejected and lowest temperature

//(a)
Q2 = tof;
COP = Q2/W; //coeffecient of performance
mprintf('(a). COP is %f',COP);

//(b)
Q1 = Q2+W; //heat rejected
mprintf('\n\n (b). Heat rejected is %f kW',Q1/1000);

//(c)
//Let T2 be the lowest temperature
T2 = T1*(Q2/Q1);
mprintf('\n\n (c). Lowest possible temperature in refrigerator is %f K',T2);

//end