summaryrefslogtreecommitdiff
path: root/3821/CH9/EX9.7/Example9_7.sce
blob: 48409f1412905d955ea00d9610d97f539a0e0ff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
///Chapter 9 Law Of Thermodynamics
////Example 9.7 Page No:169
///Find Steam flow rate
///Input data
clc;
clear;
W1=800;              //Power of turbine shaft Kw
W2=-5;               //Work pump to feed in Kw  
Q1=2700;             //Heat for steam generation KJ/Kg
Q2=-1800;            //Condenser rejected heat KJ/Kg

//Calculation
m=((W1+W2)/(Q1+Q2)); //Steam flow rate in Kg/h


//Output
printf('Steam flow rate= %f Kg/s \n",m);