I need some help with a differential equation: dy/dt = A*y^n + g(t) where A and n are constants that can be any real numbers and g(t) is just some function of t (e.g., g(t) = exp(-t/tau) or g(t) = constant or g(t) = 0). I think this is a nonlinear ODE. If g(t) is a constant then it is an "autonomous" equation but if g(t) depends explicitly on t then it is "nonautonomous". I can solve it if g(t) = 0. and g(t) = constant. I can't find a solution if g(t) is some arbitrary function of t. Any help would be much appreciated!