blob: 251b118b53870e40c46af3bde551a11797b085ad (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
//initialisation of variables
T= 32 //lb-ft
N= 1200 //rpm
P= 2000 //psi
Q= 7.5 //gpm
//CALCULATIONS
eo= T*N*100/(P*Q*3.06)
//RESULTS
printf ('overall efficiency = %.f percent',eo)
|