blob: 4aad556034499e0151367a037c9adc83e118de10 (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
//initialisation of variables
v=0.01608 //ft
P1=100 //lbf/in^2
P2=1000 //lbf/in^2
//CALCULATIONS
W=v*(P2-P1)*144/778//Btu/lbm
//RESULTS
printf('The work per pound to pump water isentropically =% f Btu/lbm',W)
|