summaryrefslogtreecommitdiff
path: root/98/CH2/EX2.5/example2_5.sce
blob: 2a881e7f01c098df879b0f28289f090b76cac0c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Chapter 2
//Example 2_5
//PAge 18

clear;clc;

power=100;
cv=6400;
n_thermal =0.3;
n_electrical =0.92;

//coal consumption
n_overall = n_thermal*n_electrical;
ugpa=power*1000;
h=ugpa*860/n_overall;
printf("Coal consumption per hour = %.1f kg \n\n", h/cv);