summaryrefslogtreecommitdiff
path: root/2705/CH1/EX1.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2705/CH1/EX1.10
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 '2705/CH1/EX1.10')
-rwxr-xr-x2705/CH1/EX1.10/Ex1_10.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2705/CH1/EX1.10/Ex1_10.sce b/2705/CH1/EX1.10/Ex1_10.sce
new file mode 100755
index 000000000..801ac3a6f
--- /dev/null
+++ b/2705/CH1/EX1.10/Ex1_10.sce
@@ -0,0 +1,21 @@
+clear;
+clc;
+disp('Example 1.10');
+
+
+
+// Given values
+m_dot = 3.045; // use of coal, [tonne/h]
+c = 28; // calorific value of the coal, [MJ/kg]
+P_out = 4.1; // output of turbine, [MW]
+
+// solution
+m_dot = m_dot*10^3/3600; // [kg/s]
+
+P_in = m_dot*c; // power input by coal, [MW]
+
+n = P_out/P_in; // thermal efficiency formula
+
+mprintf('\n Thermal efficiency of the plant is = %f \n',n);
+
+//End