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