summaryrefslogtreecommitdiff
path: root/1460/CH11/EX11.4/11_4.sce
blob: 29c1e716d2141aab44b86f39933ae8ba68c49502 (plain)
1
2
3
4
5
6
7
8
9
10
clc
//initialization of variables
ht1=1329.1
st1=1.7581
h2s=1151.4
s2s=1.7581
//calculations
eta=sqrt((ht1-1192.8)/(ht1-h2s))
//results
printf("\n efficiency = %.2f",eta)