This example comes from [1], section 4.1, "Modeling with First Order Equations".

Reference

[1] J. R. Brannan and W. E. Boyce, Differential Equations with Boundary Value Problems: An Introduction to Modern Methods and Applications, New York: John Wiley and Sons, 2010.