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 /1919/CH5/EX5.7 | |
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 '1919/CH5/EX5.7')
-rwxr-xr-x | 1919/CH5/EX5.7/Ex5_7.sce | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/1919/CH5/EX5.7/Ex5_7.sce b/1919/CH5/EX5.7/Ex5_7.sce new file mode 100755 index 000000000..10ce85381 --- /dev/null +++ b/1919/CH5/EX5.7/Ex5_7.sce @@ -0,0 +1,33 @@ +
+// Theory and Problems of Thermodynamics
+// Chapter 5
+// Second law of Thermodynamics
+// Example 7
+
+clear ;clc;
+
+//Given data
+T1 = 300 // ambient atmosphere temperature in K
+T2 = 600 // reservoir temperature in K
+TR = 240 // refrigerator temperature in K
+
+
+// Calculations
+n = 1 - T2/T1
+// n = W/Q1 => W = 0.5*Q1
+// Q2 = Q1-W = 0.5*Q1
+
+COP_R = TR/(T1-TR)
+
+//COP_R = QL/W
+//QL = 4*W = 4*(0.5*Q1) = 2*Q1
+//QH = QL+W = 2*Q1 + 0.5*Q1 = 2.5Q1
+// Energy rejected to the ambient temperature
+// Q2 + QH = 0.5*Q1+2.5*Q1 = 3*Q1
+// Hence, (Q2 + QH)/Q1 = 3
+
+mprintf('The ratio of energy rejected by both the devices to the ambient atmosphere \n to the energy absorbed by the engine from the reservoir at 600K is 3')
+
+
+
+
|