Question

Your company practices .10"acceptance sampling" on stock you receive from vendors. For a lot size of150 units, you destructively test 20randomly selected units. If more than 3units do not conform

to specifications,the entire lot of 150 units is rejected.What is the probability of rejecting the lot if the actual number of non-conforming units in the lot is given by the variable "bad"? Assume the non-conforming units are randomly distributed within the lot, and that your destructive tests are definitive. Hints:You can use np.zeros(150) to create an array of zeros with 150 elements. Using10,000 replications will give you the necessary precision in a stochastic.estimation of the probability

Question image 1