You are on page 1of 2

Name: ALIYU ABBAGANA ALIYU

Mat No: NSU/NAS/CMP/0809/18/19


Department: Computer Science
Course: System Modeling and Simulation

Show p (x>2) =1-p (x≤2)


P (x≤2) = ∑x=0 50C0 (0.02)x (0.98)50-x
P(x) = nCx * (Px)(qn-x)
Where

P = probability of success; q = probability of failure, n = total number of trials

p=0.02 q=0.98 n=50

p(x>2)= p(x≥3) = 1- p(x≤2) =1- p(x=0,1,2)


When p(x=0)
50C0 (0.02)0 (0.98)50
50 !
50C0 = (0.02)0 (0.98)50
o ! ( 50−0 ) !

= 1 * 1 *0.0364 = 0.364
When p(x=1)
50C1 (0.02)1 (0.98)49
50!
50C1 = (0.02)1 (0.98)49
1! ( 50−1 ) !

= 50 * 0.02 * 0.3716 = 0.3716


When p(x=2)
50C2 (0.02)2 (0.98)48
50!
50C2 = (0.02)2 (0.98)48
2! ( 50−2 ) !
=1225 *0.0004 * 0.37192 = 0.188

P (x≤2) = 0.364 + 0.3716 + 0.188 = 0.92


The probability of 2 or fewer success is 0.92

You might also like