The speed of an epidemic depends on two things - how many people each case infects and how long it t…