summaryrefslogtreecommitdiff
path: root/1913/CH2/EX2.16/ex16.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1913/CH2/EX2.16/ex16.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 '1913/CH2/EX2.16/ex16.sce')
-rwxr-xr-x1913/CH2/EX2.16/ex16.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1913/CH2/EX2.16/ex16.sce b/1913/CH2/EX2.16/ex16.sce
new file mode 100755
index 000000000..20ecf2384
--- /dev/null
+++ b/1913/CH2/EX2.16/ex16.sce
@@ -0,0 +1,16 @@
+clc
+clear
+//Input data
+c1=16;//Velocity of steam at entrance in m/s
+c2=37;//Velocity of steam at exit in m/s
+h1=2990;//Specific enthalpy of steam at entrance in kJ/kg
+h2=2530;//Specific enthalpy of steam at exit in kJ/kg
+Q=-25;//Heat lost to the surroundings in kJ/kg
+m1=360000;//The steam flow rate in kg/hr
+
+//Calculations
+m=m1/3600;//The steam flow rate in kg/s
+W=(((c1^2-c2^2)/(2*1000))+(h1-h2))+Q;//Total work done in the system in kJ/kg
+P=m*W;//Power developed by the turbine in kW
+//Output
+printf('The work output from the turbine P = %3.1f kW ',P)