prob

Expected Value

intermediate

E[X] = sum(x*P(x))

Formula

Weighted average