Bernoulli equation is defined as the sum of pressure, the kinetic energy and potential energy per unit volume in a…