4.106 The sum of two uniform random numbers.
Generate two random numbers between 0 and 1 and take to be their sum. Then is a continuous random variable that can take any value between 0 and 2. The density curve of is the triangle shown in Figure 4.15.