In the last episode of discrete random variables we use Borel-Cantelli lemma to generate infinite series of successful Bernoulli trials. As we approach infinity we turn to philosophy and music.

R commands and functions:

R commands and functions:

- .Machine$integer.max - returns maximal number od type integer
- sqrt(x) - square root of x
- if(bool){do} - executes do command if bool logical condition is TRUE