summaryrefslogtreecommitdiff
path: root/2870/CH10/EX10.9
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2870/CH10/EX10.9
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 '2870/CH10/EX10.9')
-rwxr-xr-x2870/CH10/EX10.9/Ex10_9.sce34
1 files changed, 34 insertions, 0 deletions
diff --git a/2870/CH10/EX10.9/Ex10_9.sce b/2870/CH10/EX10.9/Ex10_9.sce
new file mode 100755
index 000000000..c4a106351
--- /dev/null
+++ b/2870/CH10/EX10.9/Ex10_9.sce
@@ -0,0 +1,34 @@
+clc;clear;
+//Example 10.9
+
+//given data
+P1=5;
+P2=7000;
+P3=P2;
+T3=500;
+P4=P1;
+
+//gas cycle from Ex9-6
+//d stands for '
+h4d=880.36;
+T4d=853;
+qin=790.58;
+wnetg=210.41;
+nth=0.266
+h5d=451.80;
+//steam cycle
+h2=144.78;
+T2=33;
+h3=3411.4;
+T3=500;
+wnets=1331.4;
+nth=0.408;
+
+//calculations
+//Ein = Eout
+//y is the ratio of ms/mg
+y=(h4d-h5d)/(h3-h2);
+disp(y,'the ratio of the mass flow rates of the steam and the combustion gases');
+wnet=wnetg+y*wnets
+nth=wnet/qin;
+disp(nth,'the thermal efficiency of the combined cycle')