I've got a nonlinear differential equation of the general form
y' + f(x)y + g(x) = h(x)(y^n)
For g(x) = 0 this is your bog-standard Bernoulli equation. I've been trying to think of a way to solve it but haven't managed so far.
Any ideas would be appreciated.