A liquid having area of free surface A has an orifice at a depth h with an area a, below the liquid surface, then the velocity v of flow through the orifice is:
Applying Bernoulli's theorem,
Pρ+12(v′)2+gh=Pρ+12v2+0
Where v′ is velocity of all surfaces of liquid and v is velocity of efflux.
From equation of continuity
⇒v′=avA
Av' = av
∴12(avA)2+gh=12v2
⇒v=√2gh √(A2A2−a2)