In the following SIR simulation the infection probability is set to 5%, while the recovery probability is of 10%.

Susceptible
Infected
Recovered