summaryrefslogtreecommitdiff
path: root/2870/CH2/EX2.16
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2870/CH2/EX2.16
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/CH2/EX2.16')
-rwxr-xr-x2870/CH2/EX2.16/Ex2_16.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2870/CH2/EX2.16/Ex2_16.sce b/2870/CH2/EX2.16/Ex2_16.sce
new file mode 100755
index 000000000..3df5d310e
--- /dev/null
+++ b/2870/CH2/EX2.16/Ex2_16.sce
@@ -0,0 +1,22 @@
+clc;clear;
+//Example 2.16
+//answers vary due to round off error
+
+//constants used
+g=9.81;//acceleration due to gravity in m/s^2;
+
+//given values
+h=50;
+m=5000;
+Wout=1862;
+ngen=0.95;//efficiency of turbine
+
+//calculation
+X=g*h/1000;// X stands for the differnce b/w change in mechanical energy per unit mass
+R=m*X;//rate at which mech. energy is supplied to turbine in kW
+nov=Wout/R;//overall efficiency i.e turbine and generator
+disp(nov,'overall efficiency is');
+ntu=nov/ngen;//efficiency of turbine
+disp(ntu,'efficiency of turbine is');
+Wsh=ntu*R;//shaft output work
+disp(Wsh,'shaft power output in kW')