Bernoulli's equation and calculations