Question 1.113

1.113 Use a different range for the uniform distribution. Many random number generators allow users to specify the range of the random numbers to be produced. Suppose that you specify that the outcomes are to be distributed uniformly between 0 and 4. Then the density curve of the outcomes has constant height between 0 and 4, and height 0 elsewhere.

  1. (a) What is the height of the density curve between 0 and 4? Draw a graph of the density curve.

  2. (b) Use your graph from part (a) and the fact that areas under the curve are proportions of outcomes to find the proportion of outcomes that are more than 1.

  3. (c) Find the proportion of outcomes that lie between 1.5 and 2.5.

image
Figure 1.33: Figure 1.33 The density curve of a uniform distribution, Exercise 1.122.
image image image
Figure 1.34: Figure 1.34 Three density curves, Exercise 1.115.