The following table contains the probability distribution for the number of traffic accidents daily in a small city.
x. 0. 1. 2. 3. 4. 5
p(x) 0.10 0.20 0.45 0.15 0.05 0.05
a) Find the cumulative distribution function of X.
b) Compute the mean and the variance of X.