summaryrefslogtreecommitdiff
path: root/2132/CH11/EX11.1/Example11_1.sce
blob: c180cc43b46546aca5728c9807639cad35eedc6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Example 11.1
clc;
clear;
close;
format('v',5);
//Given data :
staticPHead=5;//meter
stagnationPHead=6;//meter
h=stagnationPHead-staticPHead;//meter
g=9.81;//constant
Cv=0.98;//Coeff of pilot tube
V=Cv*sqrt(2*g*h);//m/s
disp(V,"Velocity of flow in m/sec : ");