summaryrefslogtreecommitdiff
path: root/1703/CH12/EX12.4/12_4.sce
blob: 2401a4cef522dec163f947262705ff11e922df32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc
//initialisation of variables
H2= 0.75 //ft
v1= 1 //ft/sec
v2= 6 //ft/sec
k= 1.433
//CALCULATIONS
H1= H2*(v1/v2)^(2/3)
Q1= k*H1^2.47
Q2= Q1*(H2/H1)^2.5
//RESULTS
printf ('Flow = %.3f cuses ',Q2 )