blob: 4fe222eb277f6b16169486d48a13219adb53ec3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc;
clear;
printf("\n Example 6.5\n");
L=0.5;// Length of the weir
printf("\n Given\n Length of the weir = %.1f m",L);
D=100e-3;//Height of water over the weir
printf("\n Height of water over the weir = %d",D*1e3);
n=0;
//Using Francis formula:
Q=1.84*(L-(0.1*n*D))*D^1.5;
printf("\n\n Calculations:\n Volumetric flowrate of water = %.2f m^3/s",Q);
|