How to solve this differential equation?

Hi all,

I'm trying to (re-)teach myself differential equations, and I've run into a snag. Say I have a differential equation which includes the solution on the RHS. How can I solve this, I think I can put it into standard form, but then I get stuck. Say I have

and where

where P is the function I'm trying to obtain. I would think I could put this in standard form like so

with an integrating factor of

So I'd get

I know that the solution is the following, but I'm not sure of how to get there.

Any help would be appreciated.

Re: How to solve this differential equation?

Hey joeschmo.

You should probably look at this:

Integrating factor - Wikipedia, the free encyclopedia

Note that you can also use the fact that dP/(0.3P - 20) = dt and integrate both sides to get the same answer as you would obtain from using

integrating factors.

Re: How to solve this differential equation?

Ah, that does it. I guess I can solve this by separation of variables. Thanks for the hint. Still didn't get there with the integrating factor yet but I'll give it another crack later.