summaryrefslogtreecommitdiff
path: root/896/CH6/EX6.10/10.sce
blob: 0a5757a4e014973265d78584613175f97bb6f2a5 (plain)
1
2
3
4
5
6
7
8
9
10
clc
//Example 6.10
//Calculate the pressure difference created due to expansion and contraction
rho=62.3//lbm/ft^3
K=1.5//dimentionless
v=13//ft/s
//1 ft = 12 in
//1 lbf.s^2 = 32.2 lbm.ft
dp=rho*K*(v^2/2)/32.2/144//lbf/in^2
printf("The pressure drop due to expansion and contraction is %f lbf/in^2",dp);