A certain brand of upright freezer is available in three different rated capacities: 16 ft3, 18 ft3, and 20 ft3. Let X = the rated capacity of a freezer of this brand sold at a certain store. Suppose that X has the following pmf.
x 16 18 20
p(x) 0.5 0.3 0.2
Calculate E(X)