Max distance

The max distance between two diseases:

is given by the following equation:

The complete set of equations used can be found here