Write a program (in your favorite language) to obtain N samples from each of the following distributions: (i) Bernoulli with μ = 0.5; (ii) Poisson with parameter λ = 5; and (iii) Uniform on [0, 10].