A library contains N = 10,000 books. M 100 of those books are on Prob- ability&Statistics, i.e., only a small proportion p = M/N = 0.01 1% of books is on this topic. A student prepares for an open book exam by making a random selection (with replacement/repetition) of n = 150 books from the library catalogue. Let X denote the number of selected books on Probability&Statistics.
Plot the pmf of X as a bar chart using the R command barplot in the range [0, 10]. Plot the pmf of X in the range [0,10] using the R command plot. State the mode of the pmf and the expectation of X.