bernoulli differential equation