Question 1.6.5: Orifice Flow Consider again Example 1.4.2. Ahole 6 mm in dia...
Orifice Flow
Consider again Example 1.4.2. Ahole 6 mm in diameterwas made in a translucent milk container (Figure 1.4.7). A series of marks 1 cm apart was made above the hole. While adjusting the tap flow to keep the water height constant, the time for the outflow to fill a 250 ml cup was measured (1 ml= 10^{−6} m³) Thiswas repeated for several heights. The data are given in the following table.
Height h (cm) | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
Time t (s) | 7 | 7.5 | 8 | 8.5 | 9 | 9.5 | 11 | 12 | 14 | 19 | 26 |
Obtain a functional description of the volume outflow rate f as a function of water height h above the hole.

Learn more on how do we answer questions.
First obtain the flow rate data in ml/s by dividing the 250 ml volume by the time to fill:
f = \frac{250}{t}
In Example 1.4.2, we learned that the following power function can describe the data:
f = b h^{m}
We can find the values of m and b by using p = polyfit (log 10(x) , log 10(y) , 1). The first element p_{1} of the vector p will be m, and the second element p_{2} will be log b. We can find b from b = 10^{p2} . The following MATLAB program performs the calculations.
h = (1:11);
time = [26, 19, 14, 12, 11, 9.5, 9, 8.5, 8, 7.5, 7];
flow = 250./time;
logflow = log10(flow);logheight = log10(h);
p = polyfit(logheight,logflow, 1);
m = p(1),b = 10^p(2)
F = b*h.^m;
J = sum((F - flow).^2)
S = sum((flow - mean(flow)).^2)
r2 = 1 - J/S
The results are m = 0.5499 and b = 9.4956, and the corresponding function is
f = b h^{m} = 9.4956 h^{0.5499}
The quality-of-fit values are J = 2.5011, S = 698.2203, and r² = 0.9964, which indicates a very good fit.