diff options
Diffstat (limited to '572/CH5')
-rwxr-xr-x | 572/CH5/EX5.1/c5_1.sce | 17 | ||||
-rwxr-xr-x | 572/CH5/EX5.2/c5_2.sce | 16 | ||||
-rwxr-xr-x | 572/CH5/EX5.3/c5_3.sce | 12 |
3 files changed, 45 insertions, 0 deletions
diff --git a/572/CH5/EX5.1/c5_1.sce b/572/CH5/EX5.1/c5_1.sce new file mode 100755 index 000000000..0543e8128 --- /dev/null +++ b/572/CH5/EX5.1/c5_1.sce @@ -0,0 +1,17 @@ +// (5.1) An inventor claims to have developed a power cycle capable of delivering a net work output of 410 kJ for an energy input by heat transfer of 1000 kJ. The system undergoing the cycle receives the heat transfer from hot gases at a temperature of 500 K and discharges energy by heat transfer to the atmosphere at 300 K. Evaluate this claim. + +//solution + +//variable initialization +W = 410 //net work output in kj claimed +Q = 1000 //energy input by heat transfer in kj +Tc = 300 //temperature of cold reservoir in kelvin +TH = 500 //temperature of hot reservoir in kelvin + +eta = W/Q //thermal efficiency +etamax = 1-Tc/TH + + +printf('eta = %f',eta) +printf('\n etamax = %f',etamax) +printf('\n since eta is more than etamax, the claim is not authentic') 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 diff --git a/572/CH5/EX5.3/c5_3.sce b/572/CH5/EX5.3/c5_3.sce new file mode 100755 index 000000000..c9bf4c61e --- /dev/null +++ b/572/CH5/EX5.3/c5_3.sce @@ -0,0 +1,12 @@ +//(5.3) A dwelling requires 5 * 10^5 kJ per day to maintain its temperature at 22C when the outside temperature is 10C. (a) If an electric heat pump is used to supply this energy, determine the minimum theoretical work input for one day of operation, in kJ.
+
+
+//solution
+
+//variable initialization
+Tc = 283 //in kelvin
+TH = 295 //in kelvin
+QH = 5*10^5 //in kj per day
+
+Wcyclemin = (1-Tc/TH)*QH
+printf('minimum theoretical work input for one day of operation in kj is:\n\tWmin = %e',Wcyclemin)
\ No newline at end of file |