Answer:
The general solution to this differential equation is [tex]P(t) = \frac{Ke^{kt} + h}{k}[/tex]
Step-by-step explanation:
We are given the following differential equation:
[tex]\frac{dP}{dt} = kP - h[/tex]
Solving by separation of variables:
[tex]\frac{dP}{kP-h} = dt[/tex]
Integrating both sides:
[tex]\int \frac{dP}{kP-h} = \int dt[/tex]
On the left side, by substitution, u = kP - h, du = kDp, Dp = du/k. Then
[tex]\frac{1}{k} \ln{kP-h} = t + K[/tex]
In which K is the constant of integration.
[tex]\ln{kP-h} = kt + K[/tex]
[tex]e^{\ln{kP-h}} = e^{kt + K}[/tex]
[tex]kP - h = Ke^{kt}[/tex]
[tex]kP = Ke^{kt} + h[/tex]
[tex]P(t) = \frac{Ke^{kt} + h}{k}[/tex]
The general solution to this differential equation is [tex]P(t) = \frac{Ke^{kt} + h}{k}[/tex]