ABSTRACT

This chapter models the spread of a cold in a population as a single dimensional problem. The goal is to identify whether or not an investment in cold medicine should be made to offset a loss of productivity.

A theoretic overview of what a differential equation is and what a solution of a differential equation represents is given.

The solution offered in Python is done symbolically using the Sympy library whereas the solution offered in R is done through numerical integration using deSolve.