blob: 8f24b93a5ebbf9e7189896bc7d250b770833b8c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc;clear;
//Example 6.3
//given data
Wnet=2;
QL=360;
//calculations
COPR=QL/Wnet/60;//factor of 60 to convert kW to kJ/min
disp(COPR,'coefficient of performance of refrigerator');
QH=QL+Wnet*60;//factor of 60 to convert kW to kJ/min
disp(QH,'heat rejection rate in kJ/min')
|