summaryrefslogtreecommitdiff
path: root/1466/CH7/EX7.13/7_13.sce
blob: 12812247be572764f4a8ea1b54433108fbb45dcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

clc
//initialisation of variables
w= 62.4 //lbsec/ft^3
l= 2 //miles
v= 4 //ft/sec
g= 32.2 //ft/sec^2
t= 20 //sec
t1= 1 //sec
//CALCULATIONS
P= w*l*5280*v/(g*t)
P1= w*l*5280*v/(g*t1)
//RESULTS
printf (' Rise in pressure behind the valve = %.f Lb/ft^2',P)
printf (' \n Rise in pressure behind the valve = %.f Lb/ft^2',P1)