In: Statistics and Probability
Write the R code to generate five independent uniform random numbers and use that to generate 5 independent Bernoulli random variables with probability of success p = 0.4.
please use RStudio.
please do not use lab nor rbern for calculations.