題組內容

2. (5% each, totally 25%) Today a machine will produce 100 resistors in order. Suppose that a bad resistor is produced independently with the probability of p. Let N be the number of resistors before the first bad resistor is produced (i.e., N does NOT include the first bad resistor). Let NB be the total number of bad resistors.

(e) What is the expectation of \( N_{B} \)?