blob: 37bda28b905e1410fad9ff0a3bb856f93e39f66f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//initialization of varaibles
h1=1399.2 //B/lb
h2s=976 //B/lb
wt=8 //lb /hp hr
//calculations
Wt=2545/wt
etaT=Wt/(h1-h2s)
h2=h1-Wt
//results
printf("Engine efficiency = %.3f",etaT)
|