Derivation of equations for rainfall infiltration