BERNOULLI(k,p)
k: integer
p: probability of success
If k != 0 and k != 1 this function returns a #NUM! error. If p < 0 or p > 1 this function returns a #NUM! error.
RANDBERNOULLI.