It should be pointed out that the volumetric flow rate, q, is constant for liquids because the density does not change significantly with pressure.
Since p1 is greater than p2, the pressure terms can be rearranged,
which will eliminate the negative term in the equation. The resulting equation is: