The total energy or pressure head of liquid in pipe line by Bernoulli’s equation is:
H=z+\frac{P}{w}+\frac{V^{2} }{2g} (i)
Substituting the given values of head, depth of flow and velocity head in Eq. (i), we get
H=10+\frac{20 \times (10)^{4} }{1000 \times 9.81}+\frac{4^{2} }{2 \times 9.81 }
Therefore, H= 31.2 m of water