To compute probability of obtaining at least a and at most b successes
14
Expression 15: "a" equals 0a=0
00
"n"n
15
Expression 16: "b" equals 0b=0
"a"a
"n"n
16
Computing P(a <= X <= b)
17
Expression 18: Start sum from "i" equals "a" to "b" , end sum, nCr left parenthesis, "n" , "i" , right parenthesis "p" Superscript, "i" , Baseline left parenthesis, 1 minus "p" , right parenthesis Superscript, left parenthesis, "n" minus "i" , right parenthesis , Baselineb∑i=anCrn,ipi1−pn−i