Choose independently two numbers B and C at random from the interval [0, 1] with uniform density.

## Warning: package 'dplyr' was built under R version 3.5.3
## Warning: package 'ggplot2' was built under R version 3.5.3
## Warning: package 'ggthemes' was built under R version 3.5.3
  1. Prove that B and C are proper probability distributions.

Note that the point (B,C) is then chosen at random in the unit square.

Find the probability that

  1. B + C < 1/2 - Answer: The probability that B + C < 1/2 is 0.125
## [1] 0.125473

This is represented by the area in blue

  1. BC < 1/2 - Answers: The probability that BC < 1/2 is 0.85
## [1] 0.846341

  1. |B - C| < 1/2 - Answer: The probability that |B - C| < 1/2 is 0.75
## [1] 0.749999

  1. max(B, C) < 1/2 - Answer: The probability that max(B, C) < 1/2 is 0.25
## [1] 0.250294

  1. min(B, C) < 1/2 - Answer: The probability that min(B, C) < 1/2 is 0.75
## [1] 0.749954