The person in Table 7.1 faces a gamble that pays $100 or $0. Move the slider to change the probability of winning the $100. At 50 percent you get the coin flip of Figure 7.3: expected value $50, expected utility 5, certainty equivalent $25, and risk premium $25. The certainty equivalent is the sure amount that gives her the same utility as the gamble; the risk premium is the gap between the expected value and the certainty equivalent, what she would give up to avoid the risk.
Numbers from Table 7.1 and Figures 7.1 and 7.3 (Sections 7.3 and 7.4); points A to D are the rows of Table 7.1. Between the rows (wealth $0, $25, $50, $100), utility is taken from a straight line joining the two neighboring rows.