>>591
P(x=r) = (10Cr) (p^r) (1-p)^(10-r)