6 Generating random numbers A computer programmer writes cod
6. Generating random numbers A computer programmer writes code to generate a sequence of independent random numbers sampled uniformly from the interval [0, 10]. (a) Let X and Y be two such randomly-generated numbers. Find the probability that their sum lies between 0 and 5. (b) Suppose ten such numbers are generated. Find the probability that the maximum of these ten numbers is greater than 8.
Solution
![6. Generating random numbers A computer programmer writes code to generate a sequence of independent random numbers sampled uniformly from the interval [0, 10]. 6. Generating random numbers A computer programmer writes code to generate a sequence of independent random numbers sampled uniformly from the interval [0, 10].](/WebImages/4/6-generating-random-numbers-a-computer-programmer-writes-cod-979691-1761502807-0.webp)
