diff options
Diffstat (limited to '2120/CH8/EX8.5/ex8_5.sce')
-rwxr-xr-x | 2120/CH8/EX8.5/ex8_5.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2120/CH8/EX8.5/ex8_5.sce b/2120/CH8/EX8.5/ex8_5.sce new file mode 100755 index 000000000..5b68599bd --- /dev/null +++ b/2120/CH8/EX8.5/ex8_5.sce @@ -0,0 +1,19 @@ +// Exa 8.5
+clc;
+clear;
+close;
+// Given data
+T_o = 298;// in K
+m2 = 25000;
+s2 = 16775;
+m3 = 75000;
+s3 = 17448;
+m1 = 1000000;
+s1 = 1582;
+Q = -16;// in MJ
+Q = Q * 10^3;// in kJ
+I = (T_o * ((m2 * s2) + (m3 * s3) - (m1 * s1))) - Q;// in cal/hr
+I=I*10^-3;// in kcal/hr
+disp(I,"The irreversiblity in kcal/hr");
+
+// Note: There is calculation error in evaluating the value of the irreversibility in kcal/hr. so the answer in the book is wrong and coding is right.
|