dy/dt = k*y - m, y(0)=p