summaryrefslogtreecommitdiff
path: root/3831/CH7/EX7.3/Ex7_3.sce
blob: f91547ec8016bb92b939cf88a9569ad586aab17c (plain)
1
2
3
4
5
6
7
8
9
// Example 7_3
clc;funcprot(0);
// Given data
T_H=95;// °F
T_L=70;// °F

// Solution
COP=(T_L+459.67)/((T_H+459.67)-(T_L+459.67));// Coefficient of performance
printf('\nThe Coefficient of performance,COP_Carnot air conditioner=%2.0f',COP);