TeX source:
P(A)=\dfrac{\text{Number of times event A occurs}}{\text{Total number of trials}}