summaryrefslogtreecommitdiff
path: root/779/CH8/EX8.9/8_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /779/CH8/EX8.9/8_9.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 '779/CH8/EX8.9/8_9.sce')
-rwxr-xr-x779/CH8/EX8.9/8_9.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/779/CH8/EX8.9/8_9.sce b/779/CH8/EX8.9/8_9.sce
new file mode 100755
index 000000000..6d17844e7
--- /dev/null
+++ b/779/CH8/EX8.9/8_9.sce
@@ -0,0 +1,9 @@
+T2 = 1063;
+T1 = 1073;
+m = 2; cp = 1.1;
+I = m*cp*((T1-T2)-T0*(log(T1/T2)));
+disp("kW",I,"The irrevesibility rate is")
+// At lower temperature
+T1_ = 353; T2_ = 343;
+I_ = m*cp*((T1_-T2_)-T0*(log(T1_/T2_)));
+disp("kW",I_,"The irrevesibility rate at lower temperature is") \ No newline at end of file