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

$\displaystyle $$\frac{dP}{dt}=.3P-20$$$

and where

$\displaystyle $$P(0)=35$$$

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

$\displaystyle $$\frac{dP}{dt}-.3P=-20$$$

with an integrating factor of

$\displaystyle $$v(t)=\exp{(-\int.3dt)}=\exp(-.3t)$$$

So I'd get

$\displaystyle $$\exp{(-.3t)}(\frac{dP}{dt}-.3P)=-20\exp{(-.3t)}$$$

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

$\displaystyle $$P(t)=(20-20\exp{(.3t)}+.3(35)\exp{(.3t)}/.3)$$$

Any help would be appreciated.