proof that Bernoullies principle works