Random defect rate, then inspect twelve items
A machine's defect rate for the day, , is a random number spread evenly between and (you have no idea whether the machine is running well or poorly). Once the rate is set, you inspect items produced that day, each defective independently with probability .
How many defective items should you expect?