When a certain IV drug is being administered, it enters the bloodstream at a rate of 400 mg per hour. It also leaves the bloodstream at a rate proportional to the amount present. The rate constant is 0.8 (1/hour). Let Q(t) be the amount (in mg) of the drug in the bloodstream at time t (in hours). Write a differential equation for the function Q.
I know the general form is dQ/dt= 400+kQ, but I'm not entirely sure that is correct for this example. Similarly, I am struggling to find k.
It might be useful to consider first a differential way of writing the process.
At a certain point in time for a "differential" time interval $dt$ the equation for a "differential" change $dQ$ in $Q$ would look as follows:
$$dQ = 400 \cdot dt - 0.8\cdot Q \cdot dt $$
So, your $k$ is negative as the drug is leaving the body.