Exercise 10 page 339

10. Find the probability that among 10,000 random digits the digit 3 appears not more than 931 times.

Answer:

n <- 10000
p <- 0.1
x <- 931
pbinom(x,n,p)
## [1] 0.01064763

The probability is 0.01064763