Hello,

I was just reviewing some discrete probability problems and came across this one. Not sure how to do it...

Let Xn be the random variable that counts the difference in the number of tails and the number of heads when n coins are flipped.

a) What is the expected value of Xn?

b) What is the variance of Xn?