6 A random variable X has the following distribution

x -1 0 1 2
p .4 .1 .3 .2

a) Find and plot a Cumulative distribution function (5 points),

b) Calculate an expected value​