summaryrefslogtreecommitdiff
path: root/2120/CH8/EX8.5/ex8_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2120/CH8/EX8.5/ex8_5.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2120/CH8/EX8.5/ex8_5.sce')
-rwxr-xr-x2120/CH8/EX8.5/ex8_5.sce19
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.