Problem Statement
For a fair six-sided die, what is the variance of the outcome (population variance)?
Explanation
E[X]=3.5, E[X²]=(1²+…+6²)/6=91/6. Var = E[X²]−(E[X])² = 91/6 − 12.25 = 35/12 ≈ 2.917.
Code Solution
SolutionRead Only
Var = 91/6 − (7/2)² = 35/12
