We have to find E(X) first:
![]()
Then:

V(X) = E(X 2) − [E(X)]2
For this, we need to work out the expected value of the squares of the random variable X.
| X | 8 | 12 | 16 | 20 | 24 |
| X2 | 64 | 144 | 256 | 400 | 576 |
| P(X) |

We found E(X) before: E(X) = 16
V(X) = E(X2) − [E(X)]2 = 276 - 162 = 20, as before.