mathematical theory and experimental verification of approximate linear weirs and self basing linear weirs