summaryrefslogtreecommitdiff
path: root/1913/CH2/EX2.16/ex16.sce
blob: 20ecf238404926cfcd8fe66eb49bd3b6ca528781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)