The Smoluchowski Equation In Population Dynamics And The Spread Of Infection