Applications of Bernoulli's equation