Differential equations arise in situations where a quantity evolves, usually over time, according to a given relationship. They are extremely common in engineering and physics, and appear quite naturally. One of the classic examples of a (very simple) differential equation is the law of cooling devised by Newton. The temperature of a body cools at a rate proportional to the current temperature. Mathematically, this means that we can write the derivative of the temperature T of the body at time t > 0 using the differential equation
where k is a positive constant that determines the rate of cooling. This differential equation can be solved analytically by first "separating the variables" and then integrating and rearranging. After performing this procedure, we obtain the general solution
where T0 is the initial temperature.
In this recipe...