In preparation for the lab, carefully review the code below and answer these questions.
The Random component provides a pseudo-random number generator that generates numbers uniformly distributed in the [0.0,1.0) interval; the method call rnd.nextDouble() returns a pseudo-random number in the [0.0,1.0) interval. (In case you're not familiar with the notation here, [0.0,1.0) denotes an interval consisting of all real numbers between 0.0 inclusive and 1.0 exclusive, i.e., the set of all values x satisfying 0.0 ≤ x < 1.0.)