diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /572/CH5/EX5.2 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '572/CH5/EX5.2')
-rwxr-xr-x | 572/CH5/EX5.2/c5_2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/572/CH5/EX5.2/c5_2.sce b/572/CH5/EX5.2/c5_2.sce new file mode 100755 index 000000000..b9b9e8812 --- /dev/null +++ b/572/CH5/EX5.2/c5_2.sce @@ -0,0 +1,16 @@ +// (5.2) By steadily circulating a refrigerant at low temperature through passages in the walls of the freezer compartment, a refrigerator maintains the freezer compartment at 5C when the air surrounding the refrigerator is at 22C. The rate of heat transfer from the freezer compartment to the refrigerant is 8000 kJ/h and the power input required to operate the refrigerator is 3200 kJ/h. Determine the coefficient of performance of the refrigerator and compare with the coefficient of performance of a reversible refrigeration cycle operating between reservoirs at the same two temperatures.
+
+
+//solution
+
+//variable initialization
+funcprot(0)
+Qcdot = 8000 //in kj/h
+Wcycledot = 3200 //in kj/h
+Tc = 268 //temperature of compartment in kelvin
+TH = 295 //temperature of the surrounding air in kelvin
+
+beta = Qcdot/Wcycledot //coefficient of performance
+betamax = Tc/(TH-Tc) //reversible coefficient of performance
+printf('coefficient of performance is : \n\t beta = %f',beta)
+printf('\n\n coefficient of performance of a reversible cycle is :\n\t betamax = %f',betamax)
\ No newline at end of file |