blob: 7295675366f49d2e0bcf970c89f5cc59e7b4f718 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//initialization of varaibles
disp("From data and steam tables,")
Q=10240000 //B/hr
w=700 //lb/hr
h=19500 //B/lb
//calculations
HV=w*h
e=Q/HV
//results
printf("Efficiency = %.2f",e)
|