Chapter 5.2 - Question 12

A number \(U\) is chosen at random in the interval [0,1]. Find the probability that:

  1. \(R = U^2 < 1/4\)
  2. \(S = U(1-U) < 1/4\)
  3. \(T = U/(1-U) < 1/4\)

First we’ll generate 1M observations for \(U\). We’ll also visually check to ensure that the distrubution is uniform:

The distribution looks okay, so now we can find the probabilities of \(R,S\) & \(T\)

Answer A): The probability is 0.5002

Answer B): The probability is 1

Answer C): The probability is 0.2