summaryrefslogtreecommitdiff
path: root/2339/CH1/EX1.1.4/Ex1_4.sce
blob: cc03dbed9d62f153a674a2a8f2b4e9a763a308ae (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
clear

m=3000;     //mass in kg
P=736;      //Power in kW
t=5*3600;   //Time in seconds
HV=27170    //Heating value in kJ/kg

E=P/((m/t)*HV);
Eff=E*100;
printf('Thermal Efficiency= %2.2f percent',Eff);