A random variable, X, is defined for the number of times a coin lands on heads when flipped 4 times. The probability distribution is below.
X 0 1 2 3 4
P(X) 1/16 4/16 6/16 4/16 1/16
What is the expected value for the number of heads you expect after 4 coin flips?