Let Y be a Binomial variable counting the number of successes in independent trials where the probability of success at each trial is ; that is, .

Part a) Use the pbinom function in R to find , giving your answer to three decimal places.


Part b) Use the qbinom function in R to find the smallest value such that .

You can earn partial credit on this problem.