Given the flow and the length of the rectangular weir, calculates the de kv and n values for the expression $Q = kv.H^n$ and the head over the weir.