\large
$$
headloss = \left( {\sum {K + f \cdot {L \over {4R_h }}} } \right){{V^2 } \over {2g}}
$$